]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-arp.c
refine the previous change
[tcpdump] / print-arp.c
index e53c58caff4f6297b93ebe7f4cea1d752303c49c..fbc8411ef817fe9e114b25343091153f05cef71b 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-arp.c,v 1.66 2006-03-03 22:53:21 hannes Exp $ (LBL)";
-#endif
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -192,7 +187,7 @@ atmarp_addr_print(netdissect_options *ndo,
                ND_PRINT((ndo, "<No address>"));
        else {
                ND_PRINT((ndo, "%s", linkaddr_string(ha, LINKADDR_ATM, ha_len)));
-               if (srca_len != 0) 
+               if (srca_len != 0)
                        ND_PRINT((ndo, ",%s",
                                  linkaddr_string(srca, LINKADDR_ATM, srca_len)));
        }
@@ -240,7 +235,7 @@ atmarp_print(netdissect_options *ndo,
 
         /* print operation */
         printf("%s%s ",
-               ndo->ndo_vflag ? ", " : "", 
+               ndo->ndo_vflag ? ", " : "",
                tok2str(arpop_values, "Unknown (%u)", op));
 
        switch (op) {
@@ -308,7 +303,7 @@ arp_print(netdissect_options *ndo,
        pro = PRO(ap);
        op = OP(ap);
 
-        
+
         /* if its ATM then call the ATM ARP printer
            for Frame-relay ARP most of the fields
            are similar to Ethernet so overload the Ethernet Printer
@@ -355,7 +350,7 @@ arp_print(netdissect_options *ndo,
 
         /* print operation */
         printf("%s%s ",
-               ndo->ndo_vflag ? ", " : "", 
+               ndo->ndo_vflag ? ", " : "",
                tok2str(arpop_values, "Unknown (%u)", op));
 
        switch (op) {