summaryrefslogtreecommitdiff
path: root/package/iptraf/patches/patch-src_ipfrag_c
blob: 2482cfaa6ee6b488ef7b8bc02f05d86b5e5002e4 (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/ipfrag.c	2005-09-13 08:42:54.000000000 +0200
+++ iptraf-3.0.0/src/ipfrag.c	2009-05-21 23:04:36.000000000 +0200
@@ -51,7 +51,7 @@ struct fragent *addnewdgram(struct iphdr
         fragtail->next_entry = ptmp;
         ptmp->prev_entry = fragtail;
     }
-    bzero(ptmp, sizeof(struct fragent));
+    memset(ptmp, 0, sizeof(struct fragent));
     ptmp->fragdesclist = malloc(sizeof(struct fragdescent));
     ptmp->fragdesclist->min = 0;
     ptmp->fragdesclist->max = 65535;