X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/9dfff22ef28dbd30228b592e734856445772fe85..a63600a1fc28dbc7ae7ce9f996829c49a25fb33c:/print-cfm.c diff --git a/print-cfm.c b/print-cfm.c index e950719e..2f9b89cf 100644 --- a/print-cfm.c +++ b/print-cfm.c @@ -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;