diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-06-06 22:17:08 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-06-06 22:17:08 +0000 |
| commit | 81930014ef2caa3b69ed663b695976aa4ee7b34d (patch) | |
| tree | dd8285cb8ca0683b3aec19388562baed440628cf /sys/net/if_loop.c | |
| parent | 23d3a203adf35f629acbd392b7579f2658b11886 (diff) | |
Notes
Diffstat (limited to 'sys/net/if_loop.c')
| -rw-r--r-- | sys/net/if_loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index 3c75a3455e33..0e9ac65577a7 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -101,7 +101,7 @@ int looutput __P((struct ifnet *ifp, #define LOMTU 16384 #endif -static int nloop; +static int nloop = 1; struct ifnet *loif; /* Used externally */ @@ -179,7 +179,7 @@ loop_modevent(module_t mod, int type, void *data) switch (type) { case MOD_LOAD: - TUNABLE_INT_FETCH("net.nloop", 1, nloop); + TUNABLE_INT_FETCH("net.nloop", &nloop); if (nloop < 1) /* sanity check */ nloop = 1; for (i = 0; i < nloop; i++) |
