Skip to content

Commit 5df44a5

Browse files
committed
Add macOS to the list of OSes that define IPPROTO_IGRP as 88. [skip ci]
1 parent d4218cd commit 5df44a5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ipproto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ extern const char *netdb_protoname (const uint8_t);
6464
* "any private interior gateway (used by Cisco for their IGRP)" and
6565
* 88 as "EIGRP" from Cisco.
6666
*
67-
* Recent FreeBSD and DragonFly BSD <netinet/in.h> headers define
67+
* Recent FreeBSD, DragonFly BSD, and macOS <netinet/in.h> headers define
6868
* IP_PROTO_IGRP as 9 and IP_PROTO_IGRP as 88. We define IP_PROTO_PIGP
6969
* ("private interior gateway protocol") as 9 and IP_PROTO_EIGRP as 88;
7070
* those names* better match what the current protocol number

print-ip-demux.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ ip_demux_print(netdissect_options *ndo,
127127
* (used by Cisco for their IGRP)" and 88 as
128128
* "EIGRP" from Cisco.
129129
*
130-
* Recent FreeBSD and DragonFly BSD <netinet/in.h> headers
131-
* define IP_PROTO_IGRP as 9 and IP_PROTO_IGRP as 88.
132-
* We define IP_PROTO_PIGP ("private interior gateway
133-
* protocol") as 9 and IP_PROTO_EIGRP as 88; those names
134-
* better match what the current protocol number
135-
* assignments say.
130+
* Recent FreeBSD, DragonFly BSD, and macOS <netinet/in.h>
131+
* headers define IP_PROTO_IGRP as 9 and IP_PROTO_IGRP
132+
* as 88. We define IP_PROTO_PIGP ("private interior
133+
* gateway protocol") as 9 and IP_PROTO_EIGRP as 88;
134+
* those names better match what the current protocol
135+
* number assignments say.
136136
*/
137137
igrp_print(ndo, bp, length);
138138
break;

0 commit comments

Comments
 (0)