diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-26 15:06:29 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-26 15:08:41 +0200 |
commit | f156d51b35485befb6aa9b750ab9fe462e25dd56 (patch) | |
tree | b0d2b7362b15355bc4cd10b892d1b34c7a400349 /examples/nfct-timeout-get.c | |
parent | ef53066dfaf1b5467c790bfa65a295a6cccd7562 (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.c | 2 |
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: |