summaryrefslogtreecommitdiff
path: root/accel-pppd/main.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-02-11 21:01:39 +0100
committerKozlov Dmitry <xeb@mail.ru>2013-02-12 00:12:47 +0400
commit7834f4db6be704c37e043f229bed1142eacc8903 (patch)
tree3f9b6d0ba9fa6506dffb5e3da5416b02b5261334 /accel-pppd/main.c
parent2ef53e8225299b74454ab37842814b53c911c04a (diff)
downloadaccel-ppp-xebd-7834f4db6be704c37e043f229bed1142eacc8903.tar.gz
accel-ppp-xebd-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 'accel-pppd/main.c')
0 files changed, 0 insertions, 0 deletions