summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp/netlink.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-03-25 12:47:22 +0100
committerDmitry Kozlov <xeb@mail.ru>2013-03-28 07:16:19 +0400
commit64a6e32c38df52282c83282e636c8a7cf7851da1 (patch)
treea02520a5373fd2fd3cb57f8035755a9ab6b6542b /accel-pppd/ctrl/l2tp/netlink.c
parentdc33ee75b53ae1dbeeb8c993b427e653351ebe23 (diff)
downloadaccel-ppp-xebd-64a6e32c38df52282c83282e636c8a7cf7851da1.tar.gz
accel-ppp-xebd-64a6e32c38df52282c83282e636c8a7cf7851da1.zip
l2tp: Avoid tunnel destruction when possible
Handle incomming messages differently depending on their Message Type: * Close tunnel only when handling tunnel establishment messages fails (SCCRP and SCCCN) and everytime a StopCCN is received. * Never close tunnel after reception of HELLO, SLI or session establishment messages (ICRQ and OCRQ). * Ignore messages with invalid first attribute type. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl/l2tp/netlink.c')
0 files changed, 0 insertions, 0 deletions