Source-Changes-HG archive

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

[src/trunk]: src/lib/libnpf Remove what was probably a left over remnant of a...



details:   https://anonhg.NetBSD.org/src/rev/2892d345eeea
branches:  trunk
changeset: 349407:2892d345eeea
user:      kre <kre%NetBSD.org@localhost>
date:      Sat Dec 10 08:48:11 2016 +0000

description:
Remove what was probably a left over remnant of a debugging printf
which was incompletely deleted.   Hopefully fix the build.

diffstat:

 lib/libnpf/npf.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 2871941905b1 -r 2892d345eeea lib/libnpf/npf.c
--- a/lib/libnpf/npf.c  Sat Dec 10 05:43:11 2016 +0000
+++ b/lib/libnpf/npf.c  Sat Dec 10 08:48:11 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf.c,v 1.36 2016/12/10 05:37:55 christos Exp $        */
+/*     $NetBSD: npf.c,v 1.37 2016/12/10 08:48:11 kre Exp $     */
 
 /*-
  * Copyright (c) 2010-2015 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.36 2016/12/10 05:37:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.37 2016/12/10 08:48:11 kre Exp $");
 
 #include <sys/types.h>
 #include <netinet/in_systm.h>
@@ -1291,7 +1291,6 @@
        }
        prop_dictionary_get_uint16(nat, "oport", &port[0]);
        prop_dictionary_get_uint16(nat, "tport", &port[1]);
-       ntohs(port[1]));
        prop_object_release(conn_res);
 out:
        prop_object_release(conn_dict);



Home | Main Index | Thread Index | Old Index