Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet remove reference to ipnat, and duplicate comments



details:   https://anonhg.NetBSD.org/src/rev/a83c906a6cfd
branches:  trunk
changeset: 366556:a83c906a6cfd
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Sep 02 16:05:33 2018 +0000

description:
remove reference to ipnat, and duplicate comments

diffstat:

 sys/netinet/ip_input.c |  13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diffs (41 lines):

diff -r 37927837022d -r a83c906a6cfd sys/netinet/ip_input.c
--- a/sys/netinet/ip_input.c    Sun Sep 02 16:02:18 2018 +0000
+++ b/sys/netinet/ip_input.c    Sun Sep 02 16:05:33 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_input.c,v 1.385 2018/07/10 15:46:58 maxv Exp $      */
+/*     $NetBSD: ip_input.c,v 1.386 2018/09/02 16:05:33 maxv Exp $      */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.385 2018/07/10 15:46:58 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.386 2018/09/02 16:05:33 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -176,7 +176,7 @@
  * and transmit implementation do not implement the Strong ES model,
  * setting this to 1 results in an odd hybrid.
  *
- * XXX - ip_checkinterface currently must be disabled if you use ipnat
+ * XXX - ip_checkinterface currently must be disabled if you use NAT
  * to translate the destination address to another local interface.
  *
  * XXX - ip_checkinterface must be disabled if you add IP aliases
@@ -324,13 +324,6 @@
         * strong ES model) if IP forwarding is disabled and the packet
         * is not locally generated.
         *
-        * XXX - Checking also should be disabled if the destination
-        * address is ipnat'ed to a different interface.
-        *
-        * XXX - Checking is incompatible with IP aliases added
-        * to the loopback interface instead of the interface where
-        * the packets are received.
-        *
         * XXX - We need to add a per ifaddr flag for this so that
         * we get finer grain control.
         */



Home | Main Index | Thread Index | Old Index