fix for last checkin
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 9 Apr 2004 15:24:57 +0000 (15:24 +0000)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 9 Apr 2004 15:24:57 +0000 (15:24 +0000)
linux/net/ipv4/netfilter/ipt_ACCOUNT.c

index a539efa..665ac0f 100644 (file)
@@ -275,7 +275,7 @@ void ipt_account_depth0_insert(struct ipt_account_mask_24 *mask_24, unsigned int
     if (is_src)
     {
         // Calculate network slot
-        DEBUGP("ACCOUNT: Calculated SRC 8 bit network slot: %d\n", slot);
+        DEBUGP("ACCOUNT: Calculated SRC 8 bit network slot: %d\n", src_slot);
         if (!mask_24->ip[src_slot].src_packets && !mask_24->ip[src_slot].dst_packets)
             is_src_new_ip = 1;
         
@@ -284,7 +284,7 @@ void ipt_account_depth0_insert(struct ipt_account_mask_24 *mask_24, unsigned int
     }
     if (is_dst)
     {
-        DEBUGP("ACCOUNT: Calculated DST 8 bit network slot: %d\n", slot);
+        DEBUGP("ACCOUNT: Calculated DST 8 bit network slot: %d\n", dst_slot);
         if (!mask_24->ip[dst_slot].src_packets && !mask_24->ip[dst_slot].dst_packets)
             is_dst_new_ip = 1;