summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/serv.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-03-18 16:49:14 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-03-18 16:49:18 +0300
commit550d631e9aad3ffac3ab4c2953021182ab2eb0c3 (patch)
treecfd9cafee968b65c4308bcf146b3fede166300aa /accel-pppd/radius/serv.c
parent546e33e6f4d03f81341c0da91eac9fef8aa94f29 (diff)
downloadaccel-ppp-550d631e9aad3ffac3ab4c2953021182ab2eb0c3.tar.gz
accel-ppp-550d631e9aad3ffac3ab4c2953021182ab2eb0c3.zip
ipoe: implemented new option "start=auto"
If start=auto is specified then accel-pppd automatically starts session with username = interface name on shared=0 interfaces. Use it with conjuction vlan_mon. So any packet may start session.
Diffstat (limited to 'accel-pppd/radius/serv.c')
-rw-r--r--accel-pppd/radius/serv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/radius/serv.c b/accel-pppd/radius/serv.c
index c66cc283..4313a389 100644
--- a/accel-pppd/radius/serv.c
+++ b/accel-pppd/radius/serv.c
@@ -177,7 +177,7 @@ int rad_server_req_enter(struct rad_req_t *req)
{
struct timespec ts;
- if (req->serv->need_free || req->serv->starting)
+ if (req->serv->need_free)
return -1;
clock_gettime(CLOCK_MONOTONIC, &ts);