gtpu bypass function doesn't work (VPP-924) 86/7886/4
authorjerryian <gu.jian1@zte.com.cn>
Thu, 3 Aug 2017 02:17:01 +0000 (10:17 +0800)
committerNeale Ranns <nranns@cisco.com>
Thu, 3 Aug 2017 08:30:30 +0000 (08:30 +0000)
Change-Id: I80183f7d984ed6ed2e3405d1bb65fe761a29bc81
Signed-off-by: jerryian <gu.jian1@zte.com.cn>
src/plugins/gtpu/gtpu.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index c91612e..84745bd
 
 gtpu_main_t gtpu_main;
 
+/* *INDENT-OFF* */
+VNET_FEATURE_INIT (ip4_gtpu_bypass, static) = {
+  .arc_name = "ip4-unicast",
+  .node_name = "ip4-gtpu-bypass",
+  .runs_before = VNET_FEATURES ("ip4-lookup"),
+};
+
+VNET_FEATURE_INIT (ip6_gtpu_bypass, static) = {
+  .arc_name = "ip6-unicast",
+  .node_name = "ip6-gtpu-bypass",
+  .runs_before = VNET_FEATURES ("ip6-lookup"),
+};
+/* *INDENT-on* */
+
 static u8 *
 format_decap_next (u8 * s, va_list * args)
 {