2
===================================================================
3
RCS file: /cvspublic/iptables/iptables.c,v
4
retrieving revision 1.68
5
retrieving revision 1.71
7
--- iptables.c 26 May 2004 16:04:48 -0000 1.68
8
+++ iptables.c 30 Aug 2004 16:00:09 -0000 1.71
11
while (host->h_addr_list[*naddr] != (char *) NULL)
13
- addr = fw_calloc(*naddr, sizeof(struct in_addr));
14
+ addr = fw_calloc(*naddr, sizeof(struct in_addr) * *naddr);
15
for (i = 0; i < *naddr; i++)
17
(struct in_addr *) host->h_addr_list[i]);
18
@@ -2339,11 +2339,8 @@
22
- for (c = 0; c < nsaddrs; c++)
25
- for (c = 0; c < ndaddrs; c++)
30
if (opts != original_opts) {