From 361b71de33e6498a704cfa5c6c7afb696d5d90e3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 13 Aug 2013 18:01:30 +0200 Subject: src: extra: add prefix nfq_ to internal checksum functions These functions are internal and they belong to the libnetfilter_queue scope, so let's add the corresponding nfq_ prefix. Suggested-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- src/extra/ipv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extra/ipv4.c') diff --git a/src/extra/ipv4.c b/src/extra/ipv4.c index d7f1f69..0fe716b 100644 --- a/src/extra/ipv4.c +++ b/src/extra/ipv4.c @@ -85,7 +85,7 @@ void nfq_ip_set_checksum(struct iphdr *iph) uint32_t iph_len = iph->ihl * 4; iph->check = 0; - iph->check = checksum(0, (uint16_t *)iph, iph_len); + iph->check = nfq_checksum(0, (uint16_t *)iph, iph_len); } EXPORT_SYMBOL(nfq_ip_set_checksum); -- cgit v1.2.3