summaryrefslogtreecommitdiff
path: root/accel-pppd/iprange.h
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-02-11 21:02:35 +0100
committerKozlov Dmitry <xeb@mail.ru>2013-02-12 00:12:48 +0400
commit9c9ff616d53127f6018143154aa53ad16bec9eca (patch)
tree528ab9c7d989633b80993233300ae59c05ace99f /accel-pppd/iprange.h
parentda4739b14071ef71f99c747ac2118924d525c3d5 (diff)
downloadaccel-ppp-xebd-9c9ff616d53127f6018143154aa53ad16bec9eca.tar.gz
accel-ppp-xebd-9c9ff616d53127f6018143154aa53ad16bec9eca.zip
l2tp: Set LNS address with the one really bound to
When allocating tunnels, set the lns_addr field of tunnels using getsockname() instead of using the "host" parameter. This will allow the caller to pass an unspecified port in "host" (for binding to any source port) and to set the lns_addr field with the address really bound to. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/iprange.h')
0 files changed, 0 insertions, 0 deletions