From bd8e43dfa045b4aec4ecf4ad3e5503924b5c9c38 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 15 Mar 2021 14:42:30 +0000 Subject: gre: Multipoint GRE fixes Type: fix - the CLI was broken when a nh-table-id was present, since it overwrote the next-hop address - bouncing interface state stacked the adjacencies on the tunnel's destination (which is all zeros) - don't crash in the switch path if the interface has no hw-address Signed-off-by: Neale Ranns Change-Id: I1ba9fdc9b2185899b753a2d40f23afa847a3ef4f --- src/vnet/teib/teib_cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/teib') diff --git a/src/vnet/teib/teib_cli.c b/src/vnet/teib/teib_cli.c index fd9e55ed742..a23902e0f60 100644 --- a/src/vnet/teib/teib_cli.c +++ b/src/vnet/teib/teib_cli.c @@ -40,10 +40,10 @@ teib_add (vlib_main_t * vm, ; else if (unformat (line_input, "peer %U", unformat_ip_address, &peer)) ; - else if (unformat (line_input, "nh %U", unformat_ip_address, &nh)) - ; else if (unformat (line_input, "nh-table-id %d", &nh_table_id)) ; + else if (unformat (line_input, "nh %U", unformat_ip_address, &nh)) + ; else { error = clib_error_return (0, "unknown input `%U'", -- cgit 1.2.3-korg