]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip-demux.c
CI: Add warning exemptions for Sun C (suncc-5.15) on Solaris 10
[tcpdump] / print-ip-demux.c
index 8dc7e1ca17d7ae3b6583c268b92b198f9f56ad90..b5282761ccd86e430cd26f7097c2f1cef2ce8322 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IPv4/IPv6 payload printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -129,12 +127,12 @@ again:
                 * (used by Cisco for their IGRP)" and 88 as
                 * "EIGRP" from Cisco.
                 *
-                * Recent BSD <netinet/in.h> headers define
-                * IP_PROTO_PIGP as 9 and IP_PROTO_IGRP as 88.
-                * We define IP_PROTO_PIGP as 9 and
-                * IP_PROTO_EIGRP as 88; those names better
-                * match was the current protocol number
-                * assignments say.
+                * Recent FreeBSD, DragonFly BSD, and macOS <netinet/in.h>
+                * headers define IPPROTO_PIGP as 9 and IPPROTO_IGRP
+                * as 88.  We define IPPROTO_PIGP ("private interior
+                * gateway protocol") as 9 and IPPROTO_EIGRP as 88;
+                * those names better match what the current protocol
+                * number assignments say.
                 */
                igrp_print(ndo, bp, length);
                break;