diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-15 12:53:58 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-15 12:53:58 +0000 |
commit | 17c3451c18389990d74936e79ee19a4aa15e97d0 (patch) | |
tree | 3d3364c3120ad361b8951a1302be79bf83c2de4c /src/sync-ftfw.c | |
parent | b861a707522e8625b4a5b4145b97a8825037572f (diff) | |
download | conntrack-tools-17c3451c18389990d74936e79ee19a4aa15e97d0.tar.gz conntrack-tools-17c3451c18389990d74936e79ee19a4aa15e97d0.zip |
Max Kellermann <max@duempel.org>:
use const when possible
Diffstat (limited to 'src/sync-ftfw.c')
-rw-r--r-- | src/sync-ftfw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c index 8452e2e..0d57f36 100644 --- a/src/sync-ftfw.c +++ b/src/sync-ftfw.c @@ -161,7 +161,7 @@ static int ftfw_local(int fd, int type, void *data) static int rs_queue_to_tx(void *data1, void *data2) { struct nethdr *net = data1; - struct nethdr_ack *nack = data2; + const struct nethdr_ack *nack = data2; if (between(net->seq, nack->from, nack->to)) { dp("rs_queue_to_tx sq: %u fl:%u len:%u\n", @@ -174,7 +174,7 @@ static int rs_queue_to_tx(void *data1, void *data2) static int rs_queue_empty(void *data1, void *data2) { struct nethdr *net = data1; - struct nethdr_ack *h = data2; + const struct nethdr_ack *h = data2; if (between(net->seq, h->from, h->to)) { dp("remove from queue (seq=%u)\n", net->seq); |