summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 58d7d9e..7c74e56 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -566,7 +566,7 @@ static void __ipoe_session_activate(struct ipoe_session *ses)
}
}
- if (ses->serv->opt_ifcfg || ses->serv->mode == MODE_L2)
+ if (ses->serv->opt_ifcfg || ses->serv->opt_mode == MODE_L2)
ipoe_ifcfg_add(ses);
if (ses->l4_redirect)