Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/ipf/lib the bitmask array in this file should be the sa...



details:   https://anonhg.NetBSD.org/src/rev/47bfd9eeb4fc
branches:  trunk
changeset: 572338:47bfd9eeb4fc
user:      darrenr <darrenr%NetBSD.org@localhost>
date:      Thu Dec 30 08:29:09 2004 +0000

description:
the bitmask array in this file should be the same as the one in fil.c if
rules with v6hdr options are going to match packets.  this sorts the array
by incrementing value of the v6 option.

diffstat:

 dist/ipf/lib/v6ionames.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (30 lines):

diff -r 3ce84b8e2dff -r 47bfd9eeb4fc dist/ipf/lib/v6ionames.c
--- a/dist/ipf/lib/v6ionames.c  Thu Dec 30 05:11:50 2004 +0000
+++ b/dist/ipf/lib/v6ionames.c  Thu Dec 30 08:29:09 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: v6ionames.c,v 1.1.1.1 2004/03/28 08:56:21 martti Exp $ */
+/*     $NetBSD: v6ionames.c,v 1.2 2004/12/30 08:29:09 darrenr Exp $    */
 
 /*
  * Copyright (C) 1993-2001 by Darren Reed.
@@ -14,13 +14,13 @@
 
 struct ipopt_names     v6ionames[] ={
        { IPPROTO_HOPOPTS,      0x000001,       0,      "hopopts" },
-       { IPPROTO_DSTOPTS,      0x000002,       0,      "dstopts" },
-       { IPPROTO_ESP,          0x000004,       0,      "esp" },
-       { IPPROTO_AH,           0x000008,       0,      "ah" },
-       { IPPROTO_ROUTING,      0x000010,       0,      "routing" },
-       { IPPROTO_IPV6,         0x000020,       0,      "ipv6" },
-       { IPPROTO_FRAGMENT,     0x000040,       0,      "frag" },       
-       { IPPROTO_NONE,         0x000080,       0,      "none" },       
+       { IPPROTO_IPV6,         0x000002,       0,      "ipv6" },
+       { IPPROTO_ROUTING,      0x000004,       0,      "routing" },
+       { IPPROTO_FRAGMENT,     0x000008,       0,      "frag" },       
+       { IPPROTO_ESP,          0x000010,       0,      "esp" },
+       { IPPROTO_AH,           0x000020,       0,      "ah" },
+       { IPPROTO_NONE,         0x000040,       0,      "none" },       
+       { IPPROTO_DSTOPTS,      0x000080,       0,      "dstopts" },
        { 0,                    0,              0,      (char *)NULL }
 };
 



Home | Main Index | Thread Index | Old Index