From: Phil Sutter Date: Wed, 19 Sep 2018 13:16:56 +0000 (+0200) Subject: nfnl_osf: Replace deprecated nfnl_talk() by nfnl_query() X-Git-Tag: v1.8.1~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52aa15098ebd62eaca9eb3c57c240df2455d8e9b;p=thirdparty%2Fiptables.git nfnl_osf: Replace deprecated nfnl_talk() by nfnl_query() This eliminates the deprecation warning when compiling the sources. Signed-off-by: Phil Sutter Signed-off-by: Florian Westphal --- 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)