diff options
author | zec <zec@FreeBSD.org> | 2009-04-26 22:06:42 +0000 |
---|---|---|
committer | zec <zec@FreeBSD.org> | 2009-04-26 22:06:42 +0000 |
commit | 8d976eab5c2cbc080800be588a8572ebec4a7795 (patch) | |
tree | 1c2ccb403d29ceb85ca7992b6b96623f561c79db /sys/contrib/ipfilter | |
parent | 1e44d091e1be67e4c879788035a2a9161eace942 (diff) | |
download | FreeBSD-src-8d976eab5c2cbc080800be588a8572ebec4a7795.zip FreeBSD-src-8d976eab5c2cbc080800be588a8572ebec4a7795.tar.gz |
In preparation for turning on options VIMAGE in next commits,
rearrange / replace / adjust several INIT_VNET_* initializer
macros, all of which currently resolve to whitespace.
Reviewed by: bz (an older version of the patch)
Approved by: julian (mentor)
Diffstat (limited to 'sys/contrib/ipfilter')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_fil_freebsd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c b/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c index b2e00e8..fee97c5 100644 --- a/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c +++ b/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c @@ -213,6 +213,7 @@ char *s; int ipfattach() { + INIT_VNET_INET(curvnet); #ifdef USE_SPL int s; #endif @@ -264,6 +265,7 @@ int ipfattach() */ int ipfdetach() { + INIT_VNET_INET(curvnet); #ifdef USE_SPL int s; #endif @@ -646,6 +648,7 @@ static int fr_send_ip(fin, m, mpp) fr_info_t *fin; mb_t *m, **mpp; { + INIT_VNET_INET(curvnet); fr_info_t fnew; ip_t *ip, *oip; int hlen; |