diff options
author | Jakub Horn <jhorn@cisco.com> | 2019-05-24 19:29:36 +0200 |
---|---|---|
committer | Jakub Horn <jhorn@cisco.com> | 2019-05-24 19:29:36 +0200 |
commit | 22dc556320637e05a3a1b972e1129480fd88eee2 (patch) | |
tree | 19796331d90f6c08735ef0cadc13e19ba2b822a7 /router | |
parent | 3a3b77f27b6d1469c5e1628cb508e193df20d6a0 (diff) |
Change-Id: I856bbfbd55969f52d8f326855c51de8bd9e4ccaf
Signed-off-by: Jakub Horn <jhorn@cisco.com>
Diffstat (limited to 'router')
-rw-r--r-- | router/router/tap_inject.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/router/router/tap_inject.c b/router/router/tap_inject.c index f41ae86..01aecc7 100644 --- a/router/router/tap_inject.c +++ b/router/router/tap_inject.c @@ -20,6 +20,7 @@ #include <vnet/ip/ip.h> #include <vnet/ip/lookup.h> #include <vnet/fib/fib.h> +#include <vnet/osi/osi.h> static tap_inject_main_t tap_inject_main; extern dpo_type_t tap_inject_dpo_type; @@ -140,6 +141,8 @@ tap_inject_enable (void) ip6_register_protocol (IP_PROTOCOL_OSPF, im->tx_node_index); ip6_register_protocol (IP_PROTOCOL_TCP, im->tx_node_index); ip6_register_protocol (IP_PROTOCOL_UDP, im->tx_node_index); + /* Registering ISIS to OSI node. */ + osi_register_input_protocol (OSI_PROTOCOL_isis, im->tx_node_index); { dpo_id_t dpo = DPO_INVALID; |