]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/ipac-ng-1.31-fetchcounter.patch
Webinterface-Bilder neu gemacht | IPAC-NG-Patches installiert | Berkeley-DB installiert
[ipfire-2.x.git] / src / patches / ipac-ng-1.31-fetchcounter.patch
1 diff -ruw ipac-ng-1.31_iptables-1.3.1/agents/iptables/iptables.c ipac-ng-1.31/agents/iptables/iptables.c
2 --- ipac-ng-1.31_iptables-1.3.1/agents/iptables/iptables.c 2005-05-02 12:00:48.000000000 +0200
3 +++ ipac-ng-1.31/agents/iptables/iptables.c 2005-05-11 22:15:59.558139120 +0200
4 @@ -1144,6 +1144,7 @@
5 rule = new_rule();
6
7 chain = new_rule();
8 + chain->pkts = 1;
9
10 strncpy(rule->name, cp+1, MAX_RULE_NAME_LENGTH);
11 strncpy(chain->name, nextline->line, cp-nextline->line);