diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-02-11 21:02:35 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-12 00:12:48 +0400 |
commit | 9c9ff616d53127f6018143154aa53ad16bec9eca (patch) | |
tree | 528ab9c7d989633b80993233300ae59c05ace99f /accel-pppd/triton/list.h | |
parent | da4739b14071ef71f99c747ac2118924d525c3d5 (diff) | |
download | accel-ppp-9c9ff616d53127f6018143154aa53ad16bec9eca.tar.gz accel-ppp-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/triton/list.h')
0 files changed, 0 insertions, 0 deletions