summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/config.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-12-19 22:38:59 +0000
committerjkh <jkh@FreeBSD.org>1999-12-19 22:38:59 +0000
commit81c7927f9404b748ed5c0034cfdafa345fae35cc (patch)
treeb1f3a035ea31228c9f1f06890282cbab9b4efcf7 /usr.sbin/sade/config.c
parent85110b43444726c9fddea55ac167c00f52b2e734 (diff)
downloadFreeBSD-src-81c7927f9404b748ed5c0034cfdafa345fae35cc.zip
FreeBSD-src-81c7927f9404b748ed5c0034cfdafa345fae35cc.tar.gz
Do better things with router configuration (use proper display variable,
for one thing - it's router_enable to check, not router).
Diffstat (limited to 'usr.sbin/sade/config.c')
-rw-r--r--usr.sbin/sade/config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index 4dda1ac..2d4028c 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -730,6 +730,11 @@ configRouter(dialogMenuItem *self)
variable_unset(VAR_ROUTER);
}
}
+ else {
+ variable_set2(VAR_ROUTER_ENABLE, "NO", 1);
+ variable_unset(VAR_ROUTERFLAGS);
+ variable_unset(VAR_ROUTER);
+ }
return ret;
}
OpenPOWER on IntegriCloud