summaryrefslogtreecommitdiff
path: root/package/iptraf/patches/patch-src_revname_c
blob: d6b4d4d5c338f258a38c9f73ac47335b40e4b18c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- iptraf-3.0.1.orig/src/revname.c	2005-09-13 08:42:54.000000000 +0200
+++ iptraf-3.0.1/src/revname.c	2013-03-04 11:35:39.000000000 +0100
@@ -164,7 +164,7 @@ int revname(int *lookup, struct in_addr
     struct timeval tv;
     int sstat = 0;
 
-    bzero(target, 45);
+    memset(target, 0, 45);
     if (*lookup) {
         if (rvnfd > 0) {
             su.sun_family = AF_UNIX;