summaryrefslogtreecommitdiff
path: root/package/iptraf/patches/patch-src_revname_c
blob: 97aae6f8c4a13a371a9377a829327fcbf8bb51b1 (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.0.orig/src/revname.c	2005-09-13 08:42:54.000000000 +0200
+++ iptraf-3.0.0/src/revname.c	2009-05-21 23:03:07.000000000 +0200
@@ -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;