summaryrefslogtreecommitdiff
path: root/accel-pppd/ifcfg.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-07-11 16:45:37 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-07-11 16:45:37 +0400
commit27b57115eb324d96088bb3fdfc0953a005a8c271 (patch)
treeaa314ba20f9a866b369b70b2f6f19ffcebf053c9 /accel-pppd/ifcfg.c
parentdb98faab0495c752f3318ae8b7c7c6515c3ff1a8 (diff)
downloadaccel-ppp-27b57115eb324d96088bb3fdfc0953a005a8c271.tar.gz
accel-ppp-27b57115eb324d96088bb3fdfc0953a005a8c271.zip
ipoe: implemented unit cache
Diffstat (limited to 'accel-pppd/ifcfg.c')
-rw-r--r--accel-pppd/ifcfg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/accel-pppd/ifcfg.c b/accel-pppd/ifcfg.c
index 7399a60..0b4927b 100644
--- a/accel-pppd/ifcfg.c
+++ b/accel-pppd/ifcfg.c
@@ -185,8 +185,7 @@ void __export ap_session_ifdown(struct ap_session *ses)
memset(&ifr, 0, sizeof(ifr));
strcpy(ifr.ifr_name, ses->ifname);
- if (ses->ctrl->type != CTRL_TYPE_IPOE)
- ioctl(sock_fd, SIOCSIFFLAGS, &ifr);
+ ioctl(sock_fd, SIOCSIFFLAGS, &ifr);
if (ses->ipv4) {
memset(&addr, 0, sizeof(addr));