summaryrefslogtreecommitdiff
path: root/src/netlink.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 18:03:52 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 18:03:52 +0100
commitc54c8c9287fc87177daf9b51933f92c7e6402904 (patch)
tree6b7b3414803af1d2217d03b327b740d7982dbec8 /src/netlink.c
parent7ae054f8aae252ee9c57e26327675e466fc1d15d (diff)
downloadconntrack-tools-c54c8c9287fc87177daf9b51933f92c7e6402904.tar.gz
conntrack-tools-c54c8c9287fc87177daf9b51933f92c7e6402904.zip
src: rename overrun handler to resync handler
This patch is a cleanup. The overrun handler is actually a way to resynchronize against the conntrack kernel table. The name overrun was used because it was initially its purpose. The new naming shows its genericity. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/netlink.c')
-rw-r--r--src/netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/netlink.c b/src/netlink.c
index 2266201..15a30f6 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -90,7 +90,7 @@ struct nfct_handle *nl_init_dump_handler(void)
return h;
}
-struct nfct_handle *nl_init_overrun_handler(void)
+struct nfct_handle *nl_init_resync_handler(void)
{
struct nfct_handle *h;
@@ -172,7 +172,7 @@ int nl_flush_conntrack_table(struct nfct_handle *h)
return nfct_query(h, NFCT_Q_FLUSH, &CONFIG(family));
}
-int nl_overrun_request_resync(struct nfct_handle *h)
+int nl_send_resync(struct nfct_handle *h)
{
int family = CONFIG(family);
return nfct_send(h, NFCT_Q_DUMP, &family);