diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-11-18 13:30:32 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-11-18 13:30:32 +0300 |
commit | e66907e2cbd4567d61bf6c93450f3ac7954f3ff8 (patch) | |
tree | 8010b52196b95a166b715062139a023e9ed6b22f | |
parent | a4178f4732bcad5e8ca43ff500afa08b31c3a020 (diff) | |
download | accel-ppp-e66907e2cbd4567d61bf6c93450f3ac7954f3ff8.tar.gz accel-ppp-e66907e2cbd4567d61bf6c93450f3ac7954f3ff8.zip |
ipoe: fixed double route insertion
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index 9d42ce5..230e033 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -927,9 +927,6 @@ static void __ipoe_session_activate(struct ipoe_session *ses) ipoe_nl_add_exclude(ses->yiaddr, 32); - if (ses->serv->opt_mode == MODE_L3) - iproute_add(ses->serv->ifindex, ses->siaddr, ses->yiaddr, 0, conf_proto); - ses->ctrl.dont_ifcfg = 1; } else if (ses->ctrl.dont_ifcfg && ses->serv->opt_mode == MODE_L2) ipaddr_add(ses->ifindex, ses->siaddr, ses->mask); |