diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-09-15 12:00:09 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-26 17:33:32 +0200 |
commit | 19c3598b923beead00a4da2fe90d9436f7cadbce (patch) | |
tree | 02e86b26d4de012df4e06ebfdcc2738b1c8748c0 /bgpd/bgp_snmp.c | |
parent | zebra/solaris: fix uninitialised vars (diff) | |
download | frr-19c3598b923beead00a4da2fe90d9436f7cadbce.tar.xz frr-19c3598b923beead00a4da2fe90d9436f7cadbce.zip |
*: fix in_addr initialisers
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 5181a0296687a6004dd00c7c0874886c9ff0bf60)
Diffstat (limited to 'bgpd/bgp_snmp.c')
-rw-r--r-- | bgpd/bgp_snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_snmp.c b/bgpd/bgp_snmp.c index 8d4b616a4..84a527b96 100644 --- a/bgpd/bgp_snmp.c +++ b/bgpd/bgp_snmp.c @@ -120,7 +120,7 @@ oid bgp_oid [] = { BGP4MIB }; 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, |