Add CTLFLAG_VNET to the net.inet.icmp.tstamprepl definition.

Reported by:	Hans Fiedler <hans@hfconsulting.com>
MFC after:	3 days
This commit is contained in:
Mark Johnston 2019-03-26 22:14:50 +00:00
parent a342f5772f
commit 7762bbc30e

View file

@ -154,7 +154,7 @@ SYSCTL_INT(_net_inet_icmp, OID_AUTO, bmcastecho, CTLFLAG_VNET | CTLFLAG_RW,
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");