summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/ipoe.h
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/ctrl/ipoe/ipoe.h
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/ctrl/ipoe/ipoe.h')
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.h b/accel-pppd/ctrl/ipoe/ipoe.h
index 825ffcaa..0cf14ead 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.h
+++ b/accel-pppd/ctrl/ipoe/ipoe.h
@@ -46,6 +46,7 @@ struct ipoe_serv {
int opt_shared:1;
int opt_dhcpv4:1;
int opt_up:1;
+ int opt_auto:1;
int opt_ifcfg:1;
int opt_nat:1;
int opt_ipv6:1;