summaryrefslogtreecommitdiffstats
path: root/zebra/irdp_interface.c
diff options
context:
space:
mode:
authorJeremy Jackson <jerj@coplanar.net>2009-01-22 02:51:57 +0100
committerPaul Jakma <paul@quagga.net>2009-06-19 16:03:31 +0200
commitec5e42b3c50e3a8e95963161319fa1a56466b2ae (patch)
tree4eba2580aca51f386ce2f879f32f8616279a1ba3 /zebra/irdp_interface.c
parent[configure] remove unused/broken autoconf cache variable ac_statedir (diff)
downloadfrr-ec5e42b3c50e3a8e95963161319fa1a56466b2ae.tar.xz
frr-ec5e42b3c50e3a8e95963161319fa1a56466b2ae.zip
[cleanup] convert bzero() deprecated by POSIX to memset()
autoscan 2.62 complains about bzero(), so a good fix nowadays is to just replace it.
Diffstat (limited to 'zebra/irdp_interface.c')
-rw-r--r--zebra/irdp_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/irdp_interface.c b/zebra/irdp_interface.c
index b3a838b31..d982c23c8 100644
--- a/zebra/irdp_interface.c
+++ b/zebra/irdp_interface.c
@@ -101,7 +101,7 @@ if_group (struct interface *ifp,
zi = ifp->info;
- bzero (&m, sizeof (m));
+ memset (&m, 0, sizeof (m));
m.imr_multiaddr.s_addr = htonl (group);
p = irdp_get_prefix(ifp);