summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/l2tp/l2tp.h
diff options
context:
space:
mode:
authorPierre Pfister <ppfister@cisco.com>2016-06-20 14:52:22 +0100
committerChris Luke <chris_luke@cable.comcast.com>2016-06-20 15:32:08 +0000
commita026eb1a6dafe8dcf50176bc68425e0789db22d3 (patch)
tree3940661a7189f789f0d6941543b9cde032f09acd /vnet/vnet/l2tp/l2tp.h
parente0965d4e05c3d43cec43c1fd31d6bc774ca79310 (diff)
VPP-143: Correctly drop local l2tp packets when no session is found
When receiving a local ipv6 packet containing an l2tp packet not associated with any session, l2tp node was handling the packet as if provided by an ipv6 feature, hence crashing. This patch fixes the issue by correctly dropping the packet instead. This patch also fixes a typo from commit d65346098daf896. Change-Id: I1b377fc5685568c16831920227671feffac64287 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'vnet/vnet/l2tp/l2tp.h')
-rw-r--r--vnet/vnet/l2tp/l2tp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnet/vnet/l2tp/l2tp.h b/vnet/vnet/l2tp/l2tp.h
index 3f77f70fb5a..2fc90fb9622 100644
--- a/vnet/vnet/l2tp/l2tp.h
+++ b/vnet/vnet/l2tp/l2tp.h
@@ -87,6 +87,7 @@ typedef struct {
l2t_main_t l2t_main;
extern vlib_node_registration_t l2t_encap_node;
extern vlib_node_registration_t l2t_decap_node;
+extern vlib_node_registration_t l2t_decap_local_node;
enum {
SESSION_COUNTER_USER_TO_NETWORK=0,