diff options
Diffstat (limited to 'src/plugins/srv6-as')
-rw-r--r-- | src/plugins/srv6-as/as.c | 1 | ||||
-rw-r--r-- | src/plugins/srv6-as/as.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/srv6-as/as.c b/src/plugins/srv6-as/as.c index 7a982dedda8..8cd964b60f2 100644 --- a/src/plugins/srv6-as/as.c +++ b/src/plugins/srv6-as/as.c @@ -36,6 +36,7 @@ unsigned char def_str[] = unsigned char params_str[] = "nh <next-hop> oif <iface-out> iif <iface-in> src <src-addr> next <sid> [next <sid> ...]"; +srv6_as_main_t srv6_as_main; static inline u8 * prepare_rewrite (ip6_address_t src_addr, ip6_address_t * sid_list, diff --git a/src/plugins/srv6-as/as.h b/src/plugins/srv6-as/as.h index 0eed05d3156..752d2529f56 100644 --- a/src/plugins/srv6-as/as.h +++ b/src/plugins/srv6-as/as.h @@ -68,7 +68,7 @@ typedef struct vlib_combined_counter_main_t invalid_counters;/**< Invalid rewrite counters */ } srv6_as_main_t; -srv6_as_main_t srv6_as_main; +extern srv6_as_main_t srv6_as_main; format_function_t format_srv6_as_localsid; unformat_function_t unformat_srv6_as_localsid; |