diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-13 04:12:13 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-18 00:45:02 +0100 |
commit | 4b2792b53b85533011e3943fc62810b0da3b6a95 (patch) | |
tree | 61788587312ace0c427b2bb7f2a155ebf7411a80 /zebra/zebra_static.c | |
parent | zebra: Perform safe walk of RIB entries in rib_process() (diff) | |
download | frr-4b2792b53b85533011e3943fc62810b0da3b6a95.tar.xz frr-4b2792b53b85533011e3943fc62810b0da3b6a95.zip |
zebra: Cleanup zebra_static CLANG/SA issues.
When compiling using CLANG's SA, cleanup the
SA issues found.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_static.c')
-rw-r--r-- | zebra/zebra_static.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_static.c b/zebra/zebra_static.c index b32395006..7d104f30d 100644 --- a/zebra/zebra_static.c +++ b/zebra/zebra_static.c @@ -50,6 +50,8 @@ static_install_route (afi_t afi, safi_t safi, struct prefix *p, struct static_ro if (! table) return; + memset (&nh_p, 0, sizeof (nh_p)); + /* Lookup existing route */ rn = route_node_get (table, p); RNODE_FOREACH_RIB (rn, rib) |