VPP-598: tcp stack initial commit
[vpp.git] / src / vnet / lisp-gpe / interface.c
index 19ac22e..292c7e6 100644 (file)
@@ -23,7 +23,7 @@
 #include <vppinfra/hash.h>
 #include <vnet/vnet.h>
 #include <vnet/ip/ip.h>
-#include <vnet/ip/udp.h>
+#include <vnet/udp/udp.h>
 #include <vnet/ethernet/ethernet.h>
 #include <vnet/lisp-gpe/lisp_gpe.h>
 #include <vnet/lisp-gpe/lisp_gpe_fwd_entry.h>
@@ -899,22 +899,6 @@ lisp_gpe_add_del_iface_command_fn (vlib_main_t * vm, unformat_input_t * input,
        lisp_gpe_tenant_l3_iface_unlock (vni);
     }
 
-  if (nsh_iface)
-    {
-      if (is_add)
-       {
-         if (~0 == lisp_gpe_add_nsh_iface (&lisp_gpe_main))
-           {
-             error = clib_error_return (0, "NSH interface not created");
-             goto done;
-           }
-         else
-           {
-             lisp_gpe_del_nsh_iface (&lisp_gpe_main);
-           }
-       }
-    }
-
 done:
   unformat_free (line_input);