]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-juniper.c
CVE-2016-7975/Fix another bounds check.
[tcpdump] / print-juniper.c
index 2fc5bea6de198d96ff17b34ea61e8315ad95814d..4fb5453c991a13d45ca6922f8122217ce7f93ec4 100644 (file)
@@ -746,7 +746,8 @@ juniper_pppoe_atm_print(netdissect_options *ndo,
         if (ethertype_print(ndo, extracted_ethertype,
                               p+ETHERTYPE_LEN,
                               l2info.length-ETHERTYPE_LEN,
-                              l2info.caplen-ETHERTYPE_LEN) == 0)
+                              l2info.caplen-ETHERTYPE_LEN,
+                              NULL, NULL) == 0)
             /* ether_type not known, probably it wasn't one */
             ND_PRINT((ndo, "unknown ethertype 0x%04x", extracted_ethertype));