X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/72e4f44ed4ef54adc3a77eaf4d319bd3c766f807..e45e68586d8ea982f95285884ecca4ea8e8a0182:/usr/src/sys/netinet/ip_icmp.h diff --git a/usr/src/sys/netinet/ip_icmp.h b/usr/src/sys/netinet/ip_icmp.h index 85406dbb13..e396bc43cc 100644 --- a/usr/src/sys/netinet/ip_icmp.h +++ b/usr/src/sys/netinet/ip_icmp.h @@ -1,4 +1,4 @@ -/* ip_icmp.h 4.4 82/04/24 */ +/* ip_icmp.h 4.5 82/04/25 */ /* * Interface Control Message Protocol Definitions. @@ -54,7 +54,7 @@ struct icmp { #define ICMP_MINLEN 8 /* abs minimum */ #define ICMP_TSLEN (8 + 3 * sizeof (n_time)) /* timestamp */ #define ICMP_ADVLENMIN (8 + sizeof (struct ip) + 8) /* min */ -#define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_len << 2) + 8) +#define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8) /* N.B.: must separately check that ip_hl >= 5 */ /*