diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2013-05-23 21:57:16 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-05-23 21:57:16 +0400 |
commit | cf27bf49df5243237acb15389fb5544f5a863685 (patch) | |
tree | f136393420aa859067ae0da1ad084a51f0ee93af /accel-pppd/ctrl/ipoe | |
parent | de677ffd0e12f966c6d871e1343ccd5c517ad44c (diff) | |
download | accel-ppp-xebd-cf27bf49df5243237acb15389fb5544f5a863685.tar.gz accel-ppp-xebd-cf27bf49df5243237acb15389fb5544f5a863685.zip |
cli: fixed 'restart' command (do soft restart, i.e. terminate sessions by default)
Diffstat (limited to 'accel-pppd/ctrl/ipoe')
-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 65b526f..7fcfa26 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -570,9 +570,6 @@ static void ipoe_ifcfg_del(struct ipoe_session *ses) log_ppp_warn("ipoe: failed to delete route from interface '%s'\n", serv->ifname); if (ses->serv->opt_ifcfg) { - if (iproute_del(serv->ifindex, ses->yiaddr)) - log_ppp_warn("ipoe: failed to delete route from interface '%s'\n", serv->ifname); - if (ses->serv->opt_shared) { ipoe_serv_del_addr(ses->serv, ses->siaddr); } else { |