Module Name:    src
Committed By:   roy
Date:           Fri Aug 30 18:48:34 UTC 2019

Modified Files:
        src/sys/netinet: if_arp.c

Log Message:
ARP: remove unused sysctl entry log_unknown_network


To generate a diff of this commit:
cvs rdiff -u -r1.284 -r1.285 src/sys/netinet/if_arp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet/if_arp.c
diff -u src/sys/netinet/if_arp.c:1.284 src/sys/netinet/if_arp.c:1.285
--- src/sys/netinet/if_arp.c:1.284	Thu Aug 22 21:14:46 2019
+++ src/sys/netinet/if_arp.c	Fri Aug 30 18:48:34 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_arp.c,v 1.284 2019/08/22 21:14:46 roy Exp $	*/
+/*	$NetBSD: if_arp.c,v 1.285 2019/08/30 18:48:34 roy Exp $	*/
 
 /*
  * Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.284 2019/08/22 21:14:46 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.285 2019/08/30 18:48:34 roy Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -212,7 +212,6 @@ static int arp_drainwanted;
 static int log_movements = 1;
 static int log_permanent_modify = 1;
 static int log_wrong_iface = 1;
-static int log_unknown_network = 1;
 
 DOMAIN_DEFINE(arpdomain);	/* forward declare and add to link set */
 
@@ -2078,13 +2077,6 @@ sysctl_net_inet_arp_setup(struct sysctll
 
 	sysctl_createv(clog, 0, NULL, NULL,
 			CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
-			CTLTYPE_INT, "log_unknown_network",
-			SYSCTL_DESCR("log ARP packets from non-local network"),
-			NULL, 0, &log_unknown_network, 0,
-			CTL_NET,PF_INET, node->sysctl_num, CTL_CREATE, CTL_EOL);
-
-	sysctl_createv(clog, 0, NULL, NULL,
-			CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
 			CTLTYPE_INT, "debug",
 			SYSCTL_DESCR("Enable ARP DAD debug output"),
 			NULL, 0, &arp_debug, 0,

Reply via email to