X-Git-Url: http://git.onelab.eu/?p=distributedratelimiting.git;a=blobdiff_plain;f=drl%2Fstandard.c;h=5c6a6d8537fe05f1f7bee39599d67e8b6a14388f;hp=5b9632e5eca2999c38c9d023975447ff676df77c;hb=1283484fb8f6a4531219984cf4d8d54e14a2ad05;hpb=fd949261f2be814d8deb410999e1dafcc2c5bb35 diff --git a/drl/standard.c b/drl/standard.c index 5b9632e..5c6a6d8 100644 --- 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)); - printlog(LOG_DEBUG, "ALLOC:%s:%hd -> %s:%hd\n", sip, + printlog(LOG_DEBUG, "ALLOC:%s:%hu -> %s:%hu\n", sip, flow->source_port, dip, flow->dest_port); }