Make tundebug sysctl writable.

This commit is contained in:
phk 1996-02-09 09:23:56 +00:00
parent f6408747ab
commit 2ae100a21b

View File

@ -69,7 +69,7 @@ PSEUDO_SET(tunattach, if_tun);
#define TUNDEBUG if (tundebug) printf
static int tundebug = 0;
SYSCTL_INT(_debug, OID_AUTO, if_tun_debug, CTLFLAG_RD, &tundebug, 0, "");
SYSCTL_INT(_debug, OID_AUTO, if_tun_debug, CTLFLAG_RW, &tundebug, 0, "");
static struct tun_softc tunctl[NTUN];