Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2019 22:14:50 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345560 - head/sys/netinet
Message-ID:  <201903262214.x2QMEoUH005985@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Tue Mar 26 22:14:50 2019
New Revision: 345560
URL: https://svnweb.freebsd.org/changeset/base/345560

Log:
  Add CTLFLAG_VNET to the net.inet.icmp.tstamprepl definition.
  
  Reported by:	Hans Fiedler <hans@hfconsulting.com>
  MFC after:	3 days

Modified:
  head/sys/netinet/ip_icmp.c

Modified: head/sys/netinet/ip_icmp.c
==============================================================================
--- head/sys/netinet/ip_icmp.c	Tue Mar 26 21:30:26 2019	(r345559)
+++ head/sys/netinet/ip_icmp.c	Tue Mar 26 22:14:50 2019	(r345560)
@@ -154,7 +154,7 @@ SYSCTL_INT(_net_inet_icmp, OID_AUTO, bmcastecho, CTLFL
 
 VNET_DEFINE_STATIC(int, icmptstamprepl) = 1;
 #define	V_icmptstamprepl		VNET(icmptstamprepl)
-SYSCTL_INT(_net_inet_icmp, OID_AUTO, tstamprepl, CTLFLAG_RW,
+SYSCTL_INT(_net_inet_icmp, OID_AUTO, tstamprepl, CTLFLAG_VNET | CTLFLAG_RW,
 	&VNET_NAME(icmptstamprepl), 0,
 	"Respond to ICMP Timestamp packets");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903262214.x2QMEoUH005985>