svn commit: r345687 - stable/12/sys/netinet

Mark Johnston markj at FreeBSD.org
Tue Sep 3 14:05:55 UTC 2019


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

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

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

Modified: stable/12/sys/netinet/ip_icmp.c
==============================================================================
--- stable/12/sys/netinet/ip_icmp.c	Fri Mar 29 13:15:16 2019	(r345686)
+++ stable/12/sys/netinet/ip_icmp.c	Fri Mar 29 13:37:29 2019	(r345687)
@@ -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");
 




More information about the svn-src-stable-12 mailing list