X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/1b69d2a8a141e97ce2d081fa92941b0cbb26c116..a63600a1fc28dbc7ae7ce9f996829c49a25fb33c:/print-cfm.c diff --git a/print-cfm.c b/print-cfm.c index 267aa25b..2f9b89cf 100644 --- a/print-cfm.c +++ b/print-cfm.c @@ -221,7 +221,7 @@ cfm_network_addr_print(netdissect_options *ndo, u_int hexdump = FALSE; /* - * Although AFIs are typically 2 octects wide, + * Although AFIs are typically 2 octets wide, * 802.1ab specifies that this field width * is only one octet. */ @@ -239,7 +239,7 @@ cfm_network_addr_print(netdissect_options *ndo, * Resolve the passed in Address. */ switch(network_addr_type) { - case AFNUM_INET: + case AFNUM_IP: if (length != 1 + 4) { ND_PRINT("(invalid IPv4 address length %u)", length - 1); hexdump = TRUE; @@ -248,7 +248,7 @@ cfm_network_addr_print(netdissect_options *ndo, ND_PRINT(", %s", GET_IPADDR_STRING(tptr + 1)); break; - case AFNUM_INET6: + case AFNUM_IP6: if (length != 1 + 16) { ND_PRINT("(invalid IPv6 address length %u)", length - 1); hexdump = TRUE;