svn commit: r345688 - stable/11/sys/netinet

Mark Johnston markj at FreeBSD.org
Tue Sep 3 14:06:08 UTC 2019


Author: markj
Date: Fri Mar 29 13:38:47 2019
New Revision: 345688
URL: https://svnweb.freebsd.org/changeset/base/345688

Log:
  MFC r345560:
  Add CTLFLAG_VNET to the net.inet.icmp.tstamprepl definition.

Modified:
  stable/11/sys/netinet/ip_icmp.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/ip_icmp.c
==============================================================================
--- stable/11/sys/netinet/ip_icmp.c	Fri Mar 29 13:37:29 2019	(r345687)
+++ stable/11/sys/netinet/ip_icmp.c	Fri Mar 29 13:38:47 2019	(r345688)
@@ -151,7 +151,7 @@ SYSCTL_INT(_net_inet_icmp, OID_AUTO, bmcastecho, CTLFL
 
 static VNET_DEFINE(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");
 




More information about the svn-src-all mailing list