]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-802_15_4.c
Functions in libnetdissect must use ndo_error() function
[tcpdump] / print-802_15_4.c
index b41e15ac56168bd045922670a2b41bef9b663326..ba8e396c98989ec9ab32c9b384eeef2467caaecf 100644 (file)
@@ -138,7 +138,7 @@ ieee802_15_4_if_print(netdissect_options *ndo,
                case 0x03:
                        panid = EXTRACT_LE_16BITS(p);
                        p += 2;
-                       ND_PRINT((ndo,"%04x:%s ", panid, le64addr_string(p)));
+                       ND_PRINT((ndo,"%04x:%s ", panid, le64addr_string(ndo, p)));
                        p += 8;
                        break;
                }
@@ -164,7 +164,7 @@ ieee802_15_4_if_print(netdissect_options *ndo,
                                panid = EXTRACT_LE_16BITS(p);
                                p += 2;
                        }
-                        ND_PRINT((ndo,"%04x:%s ", panid, le64addr_string(p)));
+                        ND_PRINT((ndo,"%04x:%s ", panid, le64addr_string(ndo, p)));
                        p += 8;
                        break;
                }