diff options
author | ume <ume@FreeBSD.org> | 2001-01-21 16:07:08 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-01-21 16:07:08 +0000 |
commit | d8c3e3afc2453eaf0c94f2fb8dc6bde1e403a1ef (patch) | |
tree | 38296a3584d194a87d2c2519e22680273577a961 /sys | |
parent | a458f7bcea6a449a21a169603534bd47b4226271 (diff) | |
download | FreeBSD-src-d8c3e3afc2453eaf0c94f2fb8dc6bde1e403a1ef.zip FreeBSD-src-d8c3e3afc2453eaf0c94f2fb8dc6bde1e403a1ef.tar.gz |
permit icmp6 type <= 256 (was 32).
Obtained from: KAME
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/ip6_fw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_fw.h b/sys/netinet6/ip6_fw.h index 3666564..47a9cee 100644 --- a/sys/netinet6/ip6_fw.h +++ b/sys/netinet6/ip6_fw.h @@ -62,7 +62,7 @@ struct ip6_fw { u_short fw_pts[IPV6_FW_MAX_PORTS]; /* Array of port numbers to match */ u_char fw_ip6opt,fw_ip6nopt; /* IPv6 options set/unset */ u_char fw_tcpf,fw_tcpnf; /* TCP flags set/unset */ -#define IPV6_FW_ICMPTYPES_DIM (32 / (sizeof(unsigned) * 8)) +#define IPV6_FW_ICMPTYPES_DIM (256 / (sizeof(unsigned) * 8)) unsigned fw_icmp6types[IPV6_FW_ICMPTYPES_DIM]; /* ICMP types bitmap */ long timestamp; /* timestamp (tv_sec) of last match */ union ip6_fw_if fw_in_if, fw_out_if;/* Incoming and outgoing interfaces */ |