gre: Multipoint GRE fixes 43/31643/2
authorNeale Ranns <neale@graphiant.com>
Mon, 15 Mar 2021 14:42:30 +0000 (14:42 +0000)
committerNeale Ranns <neale@graphiant.com>
Sun, 21 Mar 2021 18:55:01 +0000 (18:55 +0000)
commitbd8e43dfa045b4aec4ecf4ad3e5503924b5c9c38
treefe91b63cc88910c5497dd34a0f3c6e1d20a3ea9e
parent8d8150262b00435c365a43c8f859584901736aff
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 <neale@graphiant.com>
Change-Id: I1ba9fdc9b2185899b753a2d40f23afa847a3ef4f
src/vnet/gre/interface.c
src/vnet/gre/test/test_gre.py
src/vnet/ip-neighbor/ip4_neighbor.h
src/vnet/teib/teib_cli.c