aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/netinet/ip_icmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/netinet/ip_icmp.h')
-rw-r--r--sysdeps/gnu/netinet/ip_icmp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/gnu/netinet/ip_icmp.h b/sysdeps/gnu/netinet/ip_icmp.h
index e6b00fc..2e2bfe9 100644
--- a/sysdeps/gnu/netinet/ip_icmp.h
+++ b/sysdeps/gnu/netinet/ip_icmp.h
@@ -269,11 +269,11 @@ struct icmp
#define ICMP_PARAMPROB_OPTABSENT 1 /* req. opt. absent */
#define ICMP_INFOTYPE(type) \
- ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \
- (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || \
- (type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY || \
- (type) == ICMP_IREQ || (type) == ICMP_IREQREPLY || \
- (type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY)
+ ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO \
+ || (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT \
+ || (type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY \
+ || (type) == ICMP_IREQ || (type) == ICMP_IREQREPLY \
+ || (type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY)
#endif /* __USE_MISC */