summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_pcap.c')
-rw-r--r--sys/netinet/tcp_pcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_pcap.c b/sys/netinet/tcp_pcap.c
index c431f24..f0c651d 100644
--- a/sys/netinet/tcp_pcap.c
+++ b/sys/netinet/tcp_pcap.c
@@ -70,9 +70,9 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_alloc_new_mbuf,
VNET_DEFINE(int, tcp_pcap_packets) = 0;
#define V_tcp_pcap_packets VNET(tcp_pcap_packets)
-SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets, CTLFLAG_RW,
- &V_tcp_pcap_packets, 0, "Default number of packets saved per direction "
- "per TCPCB");
+SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets,
+ CTLFLAG_RW, &VNET_NAME(tcp_pcap_packets), 0,
+ "Default number of packets saved per direction per TCPCB");
/* Initialize the values. */
static void
OpenPOWER on IntegriCloud