]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove a now inaccurate comment
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 23 Sep 2020 17:45:52 +0000 (19:45 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 23 Sep 2020 17:47:43 +0000 (19:47 +0200)
ipaddr_string() is no more a macro.

[skip ci]

addrtoname.c

index 3252f93564ca64fe7cb42a22bf9c4c94cbc3dd30..39b4a241690d897c4b674e780a03699b47ef7183 100644 (file)
@@ -267,8 +267,7 @@ extern cap_channel_t *capdns;
  * Return a name for the IP address pointed to by ap.  This address
  * is assumed to be in network byte order.
  *
- * NOTE: ap is *NOT* necessarily part of the packet data (not even if
- * this is being called with the "ipaddr_string()" macro), so you
+ * NOTE: ap is *NOT* necessarily part of the packet data, so you
  * *CANNOT* use the ND_TCHECK_* or ND_TTEST_* macros on it.  Furthermore,
  * even in cases where it *is* part of the packet data, the caller
  * would still have to check for a null return value, even if it's