Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

permit icmp6 type <= 256 (was 32).

  • Loading branch information...
commit 88d8042e8d7e77262d13cfe2db68af4d99f9b1ae 1 parent 69b2833
itojun authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 kame/sys/netinet6/ip6_fw.h
View
4 kame/sys/netinet6/ip6_fw.h
@@ -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
@@ -61,7 +61,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 */
Please sign in to comment.
Something went wrong with that request. Please try again.