patch-src_revname_c 432 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- iptraf-3.0.0.orig/src/revname.c 2005-09-13 08:42:54.000000000 +0200
  3. +++ iptraf-3.0.0/src/revname.c 2009-05-21 23:03:07.000000000 +0200
  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;