Source-Changes-HG archive

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

[src/trunk]: src/sys/net/npf Remove what looks like remnant (partly removed a...



details:   https://anonhg.NetBSD.org/src/rev/042973042903
branches:  trunk
changeset: 349408:042973042903
user:      kre <kre%NetBSD.org@localhost>
date:      Sat Dec 10 09:26:16 2016 +0000

description:
Remove what looks like remnant (partly removed already) debug code,
which could not possibly compile as it was.

diffstat:

 sys/net/npf/npf_conn.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 2892d345eeea -r 042973042903 sys/net/npf/npf_conn.c
--- a/sys/net/npf/npf_conn.c    Sat Dec 10 08:48:11 2016 +0000
+++ b/sys/net/npf/npf_conn.c    Sat Dec 10 09:26:16 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_conn.c,v 1.18 2016/12/10 05:41:10 christos Exp $   */
+/*     $NetBSD: npf_conn.c,v 1.19 2016/12/10 09:26:16 kre Exp $        */
 
 /*-
  * Copyright (c) 2014-2015 Mindaugas Rasiukevicius <rmind at netbsd org>
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.18 2016/12/10 05:41:10 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_conn.c,v 1.19 2016/12/10 09:26:16 kre Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -964,9 +964,7 @@
        size_t alen = prop_data_size(sobj);
        if (alen != prop_data_size(dobj))
                return 0;
-       *(const int *)ips[NPF_SRC], id[NPF_SRC],
-       *(const int *)ips[NPF_DST], id[NPF_DST], alen, proto, *dir);
-       
+
        return connkey_setkey(key, proto, ips, id, alen, true);
 }
 



Home | Main Index | Thread Index | Old Index