diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-12-01 18:43:11 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-12-01 18:43:11 +0300 |
commit | b1c5ae767273119283089b35a79f1a64952234af (patch) | |
tree | 5237c6ecf92b4c68836199d002d86fdf039bbe32 /accel-pppd/ctrl/ipoe/dhcpv4.c | |
parent | e6c5b180e9b3fe0afac48bffe80522813a35b405 (diff) | |
download | accel-ppp-xebd-b1c5ae767273119283089b35a79f1a64952234af.tar.gz accel-ppp-xebd-b1c5ae767273119283089b35a79f1a64952234af.zip |
ipoe: implemented ability to use lua to make vlan name
[ipoe]
vlan-name=lua:make_vlan_name
lua function accepts three arguments: parent interface name, parent vlan number and vlan number caused vlan creation
sample lua function:
function make_vlan_name(ifname, svid, cvid)
print('make_vlan_name: '..ifname..','..svid..','..cvid)
return ifname..'.'..cvid
end
Diffstat (limited to 'accel-pppd/ctrl/ipoe/dhcpv4.c')
0 files changed, 0 insertions, 0 deletions