summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2013-01-25 20:15:26 +0400
committerKozlov Dmitry <xeb@mail.ru>2013-01-25 20:15:26 +0400
commitf25763961b74282a31a914aa8b1607737efb8a67 (patch)
tree6d23a05125e5a9930c82cf01245f8663d312601b /accel-pppd/ctrl/ipoe
parent00c02647fa787df0b84a57f669c0656b7e5a9591 (diff)
downloadaccel-ppp-f25763961b74282a31a914aa8b1607737efb8a67.tar.gz
accel-ppp-f25763961b74282a31a914aa8b1607737efb8a67.zip
ipoe: always assign IP address in mode=L2
Diffstat (limited to 'accel-pppd/ctrl/ipoe')
-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 74d2f90..58d7d9e 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)
+ if (ses->serv->opt_ifcfg || ses->serv->mode == MODE_L2)
ipoe_ifcfg_add(ses);
if (ses->l4_redirect)