Vitezslav Samel vitezslav@samel.cz writes:
The first two patches are fixes, the third one is cleanup and the last one is enhancenment. The last one also cleans up the mess with set_barptr().
Please, apply.
v2: use enum in call to update_proto_counter() v1: initial version
Vitezslav Samel (4): serv.c: updateportent(): count packets even if dport is the same as sport serv.c: writeutslog(): fix the printed rate in non-KBITS mode serv.c: use struct proto_counter to count packets and bytes serv.c: use struct rate to compute traffic flow rate
src/serv.c | 289 +++++++++++++++++++++++++----------------------------------- 1 files changed, 119 insertions(+), 170 deletions(-)
applied. thanks