]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-arp.c
IPv6: Print the protocol name before any test
[tcpdump] / print-arp.c
index 7d3efe74fa02e74b2e9f092338d3111a98cda594..67bee441ae508d73f7697bcee94e1f3af41f1f7a 100644 (file)
@@ -64,7 +64,7 @@ struct  arp_pkthdr {
 #define ARPOP_REVREPLY  4       /* response giving protocol address */
 #define ARPOP_INVREQUEST 8      /* request to identify peer */
 #define ARPOP_INVREPLY  9       /* response identifying peer */
-#define ARPOP_NAK       10      /* NAK - only valif for ATM ARP */
+#define ARPOP_NAK       10      /* NAK - only valid for ATM ARP */
 
 /*
  * The remaining fields are variable in size,
@@ -373,7 +373,7 @@ arp_print(netdissect_options *ndo,
             linkaddr = LINKADDR_FRELAY;
             break;
         default:
-            linkaddr = LINKADDR_ETHER;
+            linkaddr = LINKADDR_MAC48;
             break;
        }