summaryrefslogtreecommitdiffstats
path: root/examples/nfct-timeout-get.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-05-26 15:06:29 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-05-26 15:08:41 +0200
commitf156d51b35485befb6aa9b750ab9fe462e25dd56 (patch)
treeb0d2b7362b15355bc4cd10b892d1b34c7a400349 /examples/nfct-timeout-get.c
parentef53066dfaf1b5467c790bfa65a295a6cccd7562 (diff)
src: add new parameter type to nfct_timeout_snprintf
Thus, we can extend this interface to support the timeout policy in XML output in the future. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/nfct-timeout-get.c')
-rw-r--r--examples/nfct-timeout-get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nfct-timeout-get.c b/examples/nfct-timeout-get.c
index 211dedb..b2f62d0 100644
--- a/examples/nfct-timeout-get.c
+++ b/examples/nfct-timeout-get.c
@@ -32,7 +32,7 @@ static int timeout_cb(const struct nlmsghdr *nlh, void *data)
goto err_free;
}
- nfct_timeout_snprintf(buf, sizeof(buf), t, 0);
+ nfct_timeout_snprintf(buf, sizeof(buf), t, NFCT_TIMEOUT_O_DEFAULT, 0);
printf("%s\n", buf);
err_free: