Ticket #472 (new Bug report)

Opened 4 months ago

Last modified 3 months ago

Error parsing outgoing traffic in iptables_fw_counters_update()

Reported by: rgmarelli@gmail.com Assigned to:
Priority: low Milestone: Gateway 1.1.5
Component: Gateway Keywords:
Cc:

Description

Hi, it seems that there is a formatting error when parsing outgoing traffic in iptables_fw_counters_update(). Current line only updates the outgoing counter of the first client. Line 503 is:

rt = fscanf(output, "%*s %llu %*s %*s %*s %*s %*s %15[0-9.] %*s %*s %*s %*s %*s 0x%*u", &counter, ip);

but should be:

rc = fscanf(output, "%*s %lu %*s %*s %*s %*s %*s %15[0-9.] %*s %*s %*s 0x%*u", &counter, ip);

Regards,

Guido

Attachments

Change History

06/29/08 18:19:00 changed by networkfusion

  • milestone changed from Not yet assigned to a Milestone to Gateway 1.1.5.

Add/Change #472 (Error parsing outgoing traffic in iptables_fw_counters_update())