Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/netinet Pull up revision 1.27 (requested by darrenr):



details:   https://anonhg.NetBSD.org/src/rev/2d8e61521de2
branches:  netbsd-1-4
changeset: 469978:2d8e61521de2
user:      he <he%NetBSD.org@localhost>
date:      Sat Jan 08 16:42:23 2000 +0000

description:
Pull up revision 1.27 (requested by darrenr):
  Update IPF to version 3.3.6.

diffstat:

 sys/netinet/ip_nat.c |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 343e43f610c0 -r 2d8e61521de2 sys/netinet/ip_nat.c
--- a/sys/netinet/ip_nat.c      Sat Jan 08 16:41:53 2000 +0000
+++ b/sys/netinet/ip_nat.c      Sat Jan 08 16:42:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_nat.c,v 1.25.2.1 1999/12/20 21:07:41 he Exp $       */
+/*     $NetBSD: ip_nat.c,v 1.25.2.2 2000/01/08 16:42:23 he Exp $       */
 
 /*
  * Copyright (C) 1995-1998 by Darren Reed.
@@ -11,7 +11,7 @@
  */
 #if !defined(lint)
 #if defined(__NetBSD__)
-static const char rcsid[] = "$NetBSD: ip_nat.c,v 1.25.2.1 1999/12/20 21:07:41 he Exp $";
+static const char rcsid[] = "$NetBSD: ip_nat.c,v 1.25.2.2 2000/01/08 16:42:23 he Exp $";
 #else
 static const char sccsid[] = "@(#)ip_nat.c     1.11 6/5/96 (C) 1995 Darren Reed";
 static const char rcsid[] = "@(#)Id: ip_nat.c,v 2.2.2.10 1999/12/07 12:53:42 darrenr Exp";
@@ -328,6 +328,14 @@
 
        switch (cmd)
        {
+#ifdef  IPFILTER_LOG
+       case SIOCIPFFB :
+               if (!(mode & FWRITE))
+                       error = EPERM;
+               else
+                       *(int *)data = ipflog_clear(IPL_LOGNAT);
+               break;
+#endif
        case SIOCADNAT :
                if (!(mode & FWRITE)) {
                        error = EPERM;



Home | Main Index | Thread Index | Old Index