commit | 5181a0296687a6004dd00c7c0874886c9ff0bf60 | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Tue Sep 15 03:00:09 2015 -0700 |
committer | Martin Winter <mwinter@opensourcerouting.org> | Fri Oct 16 23:50:46 2015 -0700 |
tree | f7c4fb6596af18dabc52513e17febf2e2e213c22 | |
parent | 6d9362274e8ba2d57ffe17aa735eb941ac3d5fbc [diff] [blame] |
*: fix in_addr initialisers Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index 5c832ed..3f09103 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c
@@ -1804,7 +1804,7 @@ /* same goes for as4_aggregator */ struct aspath *as4_path = NULL; as_t as4_aggregator = 0; - struct in_addr as4_aggregator_addr = { 0 }; + struct in_addr as4_aggregator_addr = { .s_addr = 0 }; /* Initialize bitmap. */ memset (seen, 0, BGP_ATTR_BITMAP_SIZE);