diff options
author | Jeremy Jackson <jerj@coplanar.net> | 2009-01-22 02:51:57 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-06-19 16:03:31 +0200 |
commit | ec5e42b3c50e3a8e95963161319fa1a56466b2ae (patch) | |
tree | 4eba2580aca51f386ce2f879f32f8616279a1ba3 /zebra/irdp_interface.c | |
parent | [configure] remove unused/broken autoconf cache variable ac_statedir (diff) | |
download | frr-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.c | 2 |
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); |