git://git.onelab.eu
/
distributedratelimiting.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Smarter logging - once again. Ready to run it for real now. Fingers crossed...
[distributedratelimiting.git]
/
drl
/
standard.c
diff --git
a/drl/standard.c
b/drl/standard.c
index
5b9632e
..
5c6a6d8
100644
(file)
--- a/
drl/standard.c
+++ b/
drl/standard.c
@@
-106,7
+106,7
@@
standard_flow *standard_table_lookup(standard_flow_table table, const key_flow *
dst.s_addr = ntohl(flow->dest_ip);
strcpy(sip, inet_ntoa(src));
strcpy(dip, inet_ntoa(dst));
dst.s_addr = ntohl(flow->dest_ip);
strcpy(sip, inet_ntoa(src));
strcpy(dip, inet_ntoa(dst));
- printlog(LOG_DEBUG, "ALLOC:%s:%h
d -> %s:%hd
\n", sip,
+ printlog(LOG_DEBUG, "ALLOC:%s:%h
u -> %s:%hu
\n", sip,
flow->source_port, dip, flow->dest_port);
}
flow->source_port, dip, flow->dest_port);
}