diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-09-15 03:00:09 -0700 | 
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-26 15:33:32 +0000 | 
| commit | 19c3598b923beead00a4da2fe90d9436f7cadbce (patch) | |
| tree | 02e86b26d4de012df4e06ebfdcc2738b1c8748c0 /bgpd/bgp_snmp.c | |
| parent | defe21c79fb7d458eb3217d90fce0bfdfed4ba29 (diff) | |
*: 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 8d4b616a44..84a527b96a 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,  | 
