patch-src_revname_c 431 B

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