summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorF. Aragon <paco@voltanet.io>2018-11-21 12:58:48 +0100
committerF. Aragon <paco@voltanet.io>2018-11-21 14:45:42 +0100
commit48944eb65e1d1ced03d46121d923d9d613a480d5 (patch)
tree07ecea07b2591bdcceb6b642a371e4500a3dee98 /ospfd
parentMerge pull request #3358 from opensourcerouting/libtool-cfg-warn (diff)
downloadfrr-48944eb65e1d1ced03d46121d923d9d613a480d5.tar.xz
frr-48944eb65e1d1ced03d46121d923d9d613a480d5.zip
isisd lib ospfd pbrd python: fix empty init
ISO C forbids empty initializer braces. Empty initializers have been replaced with {0} Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 3bb3b79a6..27a94f231 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -655,7 +655,7 @@ static int ospf_write(struct thread *thread)
int pkt_count = 0;
#ifdef GNU_LINUX
- unsigned char cmsgbuf[64] = {};
+ unsigned char cmsgbuf[64] = {0};
struct cmsghdr *cm = (struct cmsghdr *)cmsgbuf;
struct in_pktinfo *pi;
#endif