Make ipstealth global as we need it in ip_fastforward too.
This commit is contained in:
parent
e549a574c6
commit
c76ff7084f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122723
@ -198,7 +198,7 @@ SYSCTL_INT(_net_inet_ip, IPCTL_DEFMTU, mtu, CTLFLAG_RW,
|
||||
#endif
|
||||
|
||||
#ifdef IPSTEALTH
|
||||
static int ipstealth = 0;
|
||||
int ipstealth = 0;
|
||||
SYSCTL_INT(_net_inet_ip, OID_AUTO, stealth, CTLFLAG_RW,
|
||||
&ipstealth, 0, "");
|
||||
#endif
|
||||
|
@ -150,6 +150,9 @@ extern u_short ip_id; /* ip packet ctr, for ids */
|
||||
#endif
|
||||
extern int ip_defttl; /* default IP ttl */
|
||||
extern int ipforwarding; /* ip forwarding */
|
||||
#ifdef IPSTEALTH
|
||||
extern int ipstealth; /* stealth forwarding */
|
||||
#endif
|
||||
extern u_char ip_protox[];
|
||||
extern struct socket *ip_rsvpd; /* reservation protocol daemon */
|
||||
extern struct socket *ip_mrouter; /* multicast routing daemon */
|
||||
|
Loading…
Reference in New Issue
Block a user