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_snmp.c b/bgpd/bgp_snmp.c index 0f4aeec..6a57834 100644 --- a/bgpd/bgp_snmp.c +++ b/bgpd/bgp_snmp.c
@@ -121,7 +121,7 @@ oid bgp_trap_oid [] = { BGP4MIB, 0 }; /* IP address 0.0.0.0. */ -static struct in_addr bgp_empty_addr = {0}; +static struct in_addr bgp_empty_addr = { .s_addr = 0 }; /* Hook functions. */ static u_char *bgpVersion (struct variable *, oid [], size_t *, int,