From bcb68fe0c95dbfd7bfe74d0c261b64460eb1d005 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 7 May 2020 11:21:16 +0200 Subject: [PATCH] zebra: GRE_UPDATE message incomplete when gre information could not be retrieved because GRE interface has been deleted, a GRE_UPDATE message may be sent to NHRP. In that case, the gre values are reset. There was a missing tunnel destination value, which has been omitted. Signed-off-by: Philippe Guibert --- zebra/zapi_msg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index 2e9b0b6ea2..84e8900069 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -3434,6 +3434,7 @@ static inline void zebra_gre_get(ZAPI_HANDLER_ARGS) stream_putl(s, IFINDEX_INTERNAL); stream_putl(s, VRF_UNKNOWN); stream_putl(s, 0); + stream_putl(s, 0); } /* Write packet size. */ stream_putw_at(s, 0, stream_get_endp(s)); -- 2.39.5