diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-02-11 21:01:39 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-12 00:12:47 +0400 |
commit | 7834f4db6be704c37e043f229bed1142eacc8903 (patch) | |
tree | 3f9b6d0ba9fa6506dffb5e3da5416b02b5261334 /rfc | |
parent | 2ef53e8225299b74454ab37842814b53c911c04a (diff) | |
download | accel-ppp-7834f4db6be704c37e043f229bed1142eacc8903.tar.gz accel-ppp-7834f4db6be704c37e043f229bed1142eacc8903.zip |
l2tp: Pass host address as sockaddr in tunnel alloc.
Pass the host address as a directly usable sockaddr_in in
l2tp_tunnel_alloc(), instead of an in_pktinfo. This will allow to
allocate tunnels without having to artificially create in_pktinfo
structures in situations where the tunnel is not created in response
to an SCCRQ.
As a side effect, this patch makes accel-ppp reply to SCCRQ using
an arbitrary source port, as specified in RFC 2661.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'rfc')
0 files changed, 0 insertions, 0 deletions