Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet ARP: remove unused sysctl entry log_unknown_network
details: https://anonhg.NetBSD.org/src/rev/436e98d69c04
branches: trunk
changeset: 453895:436e98d69c04
user: roy <roy%NetBSD.org@localhost>
date: Fri Aug 30 18:48:34 2019 +0000
description:
ARP: remove unused sysctl entry log_unknown_network
diffstat:
sys/netinet/if_arp.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (40 lines):
diff -r 03b8b095ac28 -r 436e98d69c04 sys/netinet/if_arp.c
--- a/sys/netinet/if_arp.c Fri Aug 30 15:43:52 2019 +0000
+++ b/sys/netinet/if_arp.c Fri Aug 30 18:48:34 2019 +0000
@@ -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 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_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,
Home |
Main Index |
Thread Index |
Old Index