summaryrefslogtreecommitdiff
path: root/isisd
diff options
context:
space:
mode:
authorJeremy Jackson <jerj@coplanar.net>2009-01-21 20:51:57 -0500
committerPaul Jakma <paul@quagga.net>2009-06-19 15:03:31 +0100
commitec5e42b3c50e3a8e95963161319fa1a56466b2ae (patch)
tree4eba2580aca51f386ce2f879f32f8616279a1ba3 /isisd
parente84999d93afd0f727f7325431c055cc26c988c68 (diff)
[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 'isisd')
-rw-r--r--isisd/isis_lsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index 48e3147d..50289db3 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -769,7 +769,7 @@ lsp_print_detail (dnode_t * node, struct vty *vty, char dynhost)
/* for the hostname tlv */
if (lsp->tlv_data.hostname)
{
- bzero (hostname, sizeof (hostname));
+ memset (hostname, 0, sizeof (hostname));
memcpy (hostname, lsp->tlv_data.hostname->name,
lsp->tlv_data.hostname->namelen);
vty_out (vty, " Hostname: %s%s", hostname, VTY_NEWLINE);