summaryrefslogtreecommitdiffstats
path: root/utils/nfnl_osf.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-19 15:16:56 +0200
committerFlorian Westphal <fw@strlen.de>2018-09-24 11:24:10 +0200
commit52aa15098ebd62eaca9eb3c57c240df2455d8e9b (patch)
treea85264ee3302c87e9d6565437986604850d9afa0 /utils/nfnl_osf.c
parent61ebf3f72ac62d887414c50fc83e277386f54e8f (diff)
nfnl_osf: Replace deprecated nfnl_talk() by nfnl_query()
This eliminates the deprecation warning when compiling the sources. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'utils/nfnl_osf.c')
-rw-r--r--utils/nfnl_osf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nfnl_osf.c b/utils/nfnl_osf.c
index e65c3201..fad7f700 100644
--- a/utils/nfnl_osf.c
+++ b/utils/nfnl_osf.c
@@ -384,7 +384,7 @@ static int osf_load_line(char *buffer, int len, int del)
nfnl_addattr_l(nmh, sizeof(buf), OSF_ATTR_FINGER, &f, sizeof(struct xt_osf_user_finger));
- return nfnl_talk(nfnlh, nmh, 0, 0, NULL, NULL, NULL);
+ return nfnl_query(nfnlh, nmh);
}
static int osf_load_entries(char *path, int del)