]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-dsa.c
Merge pull request #602 from gromit1811/fix_udp_frag_badlen
[tcpdump] / print-dsa.c
index 975285c827867a82b39ae836f7378da20fdce074..7dad9e2a4d8c5dd8e4248956e416de3715494509 100644 (file)
@@ -35,7 +35,7 @@
 /*
  * Format of (Ethertyped or not) DSA tagged frames:
  *
- *      7   6   5   4   3   2   1   0  
+ *      7   6   5   4   3   2   1   0
  *    .   .   .   .   .   .   .   .   .
  *  0 +---+---+---+---+---+---+---+---+
  *    |   Ether Destination Address   |
@@ -203,7 +203,7 @@ dsa_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char
        u_int length = h->len;
 
        ndo->ndo_protocol = "dsa";
-       return (ether_print_switch_tag(ndo, p, length, caplen,
+       return (ether_switch_tag_print(ndo, p, length, caplen,
            dsa_tag_print, DSA_LEN));
 }
 
@@ -214,6 +214,6 @@ edsa_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char
        u_int length = h->len;
 
        ndo->ndo_protocol = "edsa";
-       return (ether_print_switch_tag(ndo, p, length, caplen,
+       return (ether_switch_tag_print(ndo, p, length, caplen,
            edsa_tag_print, EDSA_LEN));
 }