]> The Tcpdump Group git mirrors - tcpdump/commitdiff
LLDP: Remove two now inaccurate comments
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 23 Sep 2020 17:36:46 +0000 (19:36 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 23 Sep 2020 17:38:21 +0000 (19:38 +0200)
ipaddr_string() and ip6addr_string() are functions now.

[skip ci]

print-lldp.c

index 358a31e15183eb3477c6f7ba7c912181d6643b30..a9996879f186f5601ef6e797034856883e722ea1 100644 (file)
@@ -1352,13 +1352,11 @@ lldp_network_addr_print(netdissect_options *ndo, const u_char *tptr, u_int len)
     case AFNUM_INET:
         if (len < 4)
           return NULL;
-        /* This cannot be assigned to ipaddr_string(), which is a macro. */
         pfunc = ipaddr_string;
         break;
     case AFNUM_INET6:
         if (len < 16)
           return NULL;
-        /* This cannot be assigned to ip6addr_string(), which is a macro. */
         pfunc = ip6addr_string;
         break;
     case AFNUM_802: