diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2019-01-02 21:26:11 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2019-01-14 18:58:26 +0100 |
commit | e4081c0e0b0ff763f446d92095017e8cb4df67aa (patch) | |
tree | 1d750908a1b67bf7e6f131c7d245bf2b888fd0b9 /zebra | |
parent | Merge pull request #3605 from donaldsharp/bfd_24_minutes (diff) | |
download | frr-e4081c0e0b0ff763f446d92095017e8cb4df67aa.tar.xz frr-e4081c0e0b0ff763f446d92095017e8cb4df67aa.zip |
lib: add a few more sanity checks when encoding/decoding routes
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra')
-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 faa0eb90e..8fe7031ab 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -530,6 +530,7 @@ int zsend_redistribute_route(int cmd, struct zserv *client, memset(&api, 0, sizeof(api)); api.vrf_id = re->vrf_id; api.type = re->type; + api.safi = SAFI_UNICAST; api.instance = re->instance; api.flags = re->flags; |