Skip to content

Commit

Permalink
permit icmp6 type <= 256 (was 32).
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Jan 21, 2001
1 parent 69b2833 commit 88d8042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kame/sys/netinet6/ip6_fw.h
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: ip6_fw.h,v 1.4 2000/11/21 12:29:55 kawa Exp $ */ /* $KAME: ip6_fw.h,v 1.5 2001/01/21 15:59:36 itojun Exp $ */


/* /*
* Copyright (c) 1993 Daniel Boulet * Copyright (c) 1993 Daniel Boulet
Expand Down Expand Up @@ -61,7 +61,7 @@ struct ip6_fw {
u_short fw_pts[IPV6_FW_MAX_PORTS]; /* Array of port numbers to match */ 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_ip6opt,fw_ip6nopt; /* IPv6 options set/unset */
u_char fw_tcpf,fw_tcpnf; /* TCP flags 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 */ unsigned fw_icmp6types[IPV6_FW_ICMPTYPES_DIM]; /* ICMP types bitmap */
long timestamp; /* timestamp (tv_sec) of last match */ long timestamp; /* timestamp (tv_sec) of last match */
union ip6_fw_if fw_in_if, fw_out_if;/* Incoming and outgoing interfaces */ union ip6_fw_if fw_in_if, fw_out_if;/* Incoming and outgoing interfaces */
Expand Down

0 comments on commit 88d8042

Please sign in to comment.