diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2020-05-07 11:21:16 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-10-25 15:45:44 +0200 |
| commit | bcb68fe0c95dbfd7bfe74d0c261b64460eb1d005 (patch) | |
| tree | 86592a1b11bf542598ebc26e1d4b7ed826e8ad72 /zebra/zapi_msg.c | |
| parent | 3c8161eaa88f6ae181637b8ad7d3a39399470cee (diff) | |
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 <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zapi_msg.c')
| -rw-r--r-- | zebra/zapi_msg.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |
