diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-03-18 16:49:14 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-03-18 16:49:18 +0300 |
commit | 550d631e9aad3ffac3ab4c2953021182ab2eb0c3 (patch) | |
tree | cfd9cafee968b65c4308bcf146b3fede166300aa /accel-pppd/radius/serv.c | |
parent | 546e33e6f4d03f81341c0da91eac9fef8aa94f29 (diff) | |
download | accel-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.c | 2 |
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); |