]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ether.c
Cleanups.
[tcpdump] / print-ether.c
index 5072c442f74240bf64c89e1aa97e5351e9bdb9a8..bbfd7e96991daf4d9cc8a3a80b4e785c164b263c 100644 (file)
@@ -126,6 +126,8 @@ ether_hdr_print(netdissect_options *ndo,
  * This might be encapsulated within another frame; we might be passed
  * a pointer to a function that can print header information for that
  * frame's protocol, and an argument to pass to that function.
+ *
+ * FIXME: caplen can and should be derived from ndo->ndo_snapend and p.
  */
 u_int
 ether_print(netdissect_options *ndo,
@@ -437,7 +439,7 @@ ethertype_print(netdissect_options *ndo,
                return (1);
 
        case ETHERTYPE_MEDSA:
-               medsa_print(ndo, p, length, caplen);
+               medsa_print(ndo, p, length, caplen, src, dst);
                return (1);
 
        case ETHERTYPE_LAT: