From 3d142f49de6be2f882bc785ba774a3ef6e1153a7 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sat, 12 Feb 2000 03:02:52 +0000 Subject: [PATCH] Check the right variable to see if router is enabled. --- release/sysinstall/menus.c | 2 +- usr.sbin/sade/menus.c | 2 +- usr.sbin/sysinstall/menus.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/release/sysinstall/menus.c b/release/sysinstall/menus.c index f8893dad0c3c..a1ad02b5cfee 100644 --- a/release/sysinstall/menus.c +++ b/release/sysinstall/menus.c @@ -1351,7 +1351,7 @@ DMenu MenuNetworking = { { " Ntpdate", "Select a clock-synchronization server", dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" }, { " router", "Select routing daemon (default: routed)", - dmenuVarCheck, configRouter, NULL, "router_enable" }, + dmenuVarCheck, configRouter, NULL, "router_enable=YES" }, { " Rwhod", "This machine wants to run the rwho daemon", dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod_enable=YES" }, { " Anon FTP", "This machine wishes to allow anonymous FTP.", diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c index f8893dad0c3c..a1ad02b5cfee 100644 --- a/usr.sbin/sade/menus.c +++ b/usr.sbin/sade/menus.c @@ -1351,7 +1351,7 @@ DMenu MenuNetworking = { { " Ntpdate", "Select a clock-synchronization server", dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" }, { " router", "Select routing daemon (default: routed)", - dmenuVarCheck, configRouter, NULL, "router_enable" }, + dmenuVarCheck, configRouter, NULL, "router_enable=YES" }, { " Rwhod", "This machine wants to run the rwho daemon", dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod_enable=YES" }, { " Anon FTP", "This machine wishes to allow anonymous FTP.", diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index f8893dad0c3c..a1ad02b5cfee 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -1351,7 +1351,7 @@ DMenu MenuNetworking = { { " Ntpdate", "Select a clock-synchronization server", dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" }, { " router", "Select routing daemon (default: routed)", - dmenuVarCheck, configRouter, NULL, "router_enable" }, + dmenuVarCheck, configRouter, NULL, "router_enable=YES" }, { " Rwhod", "This machine wants to run the rwho daemon", dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod_enable=YES" }, { " Anon FTP", "This machine wishes to allow anonymous FTP.",