diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-06 14:23:13 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-06 14:23:13 +0100 |
commit | 8c5c49ace83970ed002dc2f88df17f3239c4071c (patch) | |
tree | fb0de5b3a87980f8d25b97b4512aa1356bd30a6a /bgpd/bgp_nexthop.c | |
parent | bgpd: Fix up some poor formatting (diff) | |
download | frr-8c5c49ace83970ed002dc2f88df17f3239c4071c.tar.xz frr-8c5c49ace83970ed002dc2f88df17f3239c4071c.zip |
bgpd: Cleanup compile error?
For some reason we are getting a compile error around a variable I didn't
touch in the other commits. Make it happy.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_nexthop.c')
-rw-r--r-- | bgpd/bgp_nexthop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c index 41a5577a7..ab0c3a3f1 100644 --- a/bgpd/bgp_nexthop.c +++ b/bgpd/bgp_nexthop.c @@ -474,7 +474,7 @@ int bgp_nexthop_self(struct bgp *bgp, afi_t afi, uint8_t type, uint8_t sub_type, struct attr *attr, struct bgp_node *rn) { uint8_t new_afi = afi == AFI_IP ? AF_INET : AF_INET6; - struct bgp_addr tmp_addr = {0}, *addr = NULL; + struct bgp_addr tmp_addr = {{0}}, *addr = NULL; struct tip_addr tmp_tip, *tip = NULL; bool is_bgp_static_route = |