Source-Changes-HG archive

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

[src/trunk]: src/sys/net/npf Improve comment, it's not just IPv4.



details:   https://anonhg.NetBSD.org/src/rev/5a3a73092422
branches:  trunk
changeset: 318977:5a3a73092422
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri May 11 13:52:48 2018 +0000
description:
Improve comment, it's not just IPv4.

diffstat:

 sys/net/npf/npf_nat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1d9ace64f94a -r 5a3a73092422 sys/net/npf/npf_nat.c
--- a/sys/net/npf/npf_nat.c     Fri May 11 13:50:38 2018 +0000
+++ b/sys/net/npf/npf_nat.c     Fri May 11 13:52:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_nat.c,v 1.42 2018/04/23 15:36:30 christos Exp $    */
+/*     $NetBSD: npf_nat.c,v 1.43 2018/05/11 13:52:48 maxv Exp $        */
 
 /*-
  * Copyright (c) 2014 Mindaugas Rasiukevicius <rmind at netbsd org>
@@ -72,7 +72,7 @@
 
 #ifdef _KERNEL
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_nat.c,v 1.42 2018/04/23 15:36:30 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_nat.c,v 1.43 2018/05/11 13:52:48 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -692,7 +692,7 @@
        int error;
        bool forw;
 
-       /* All relevant IPv4 data should be already cached. */
+       /* All relevant data should be already cached. */
        if (!npf_iscached(npc, NPC_IP46) || !npf_iscached(npc, NPC_LAYER4)) {
                return 0;
        }



Home | Main Index | Thread Index | Old Index