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 /ospfd/ospf_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 'ospfd/ospf_snmp.c')
| -rw-r--r-- | ospfd/ospf_snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_snmp.c b/ospfd/ospf_snmp.c index 604766d825..1636153378 100644 --- a/ospfd/ospf_snmp.c +++ b/ospfd/ospf_snmp.c @@ -213,7 +213,7 @@ oid ospf_oid [] = { OSPF2MIB }; oid ospf_trap_oid [] = { OSPF2MIB, 16, 2 }; /* Not reverse mappable! */ /* IP address 0.0.0.0. */ -static struct in_addr ospf_empty_addr = {0}; +static struct in_addr ospf_empty_addr = { .s_addr = 0 }; /* Hook functions. */ static u_char *ospfGeneralGroup (struct variable *, oid *, size_t *, |
