summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 4a4f95d4..dde3f213 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -4006,6 +4006,8 @@ static void load_config(void)
opt = conf_get_opt("ipoe", "link-selection");
if (opt && inet_pton(AF_INET, opt, &dummy) > 0)
conf_link_selection = opt;
+ else
+ conf_link_selection = NULL;
opt = conf_get_opt("ipoe", "ipv6");
if (opt)