]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
nfnl_osf: Replace deprecated nfnl_talk() by nfnl_query()
authorPhil Sutter <phil@nwl.cc>
Wed, 19 Sep 2018 13:16:56 +0000 (15:16 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 24 Sep 2018 09:24:10 +0000 (11:24 +0200)
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>
utils/nfnl_osf.c

index e65c320156518b6c13bc7a7162453e55595a83ea..fad7f70024c5691430c5a1a6649c44f1351d4257 100644 (file)
@@ -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)