From 52aa15098ebd62eaca9eb3c57c240df2455d8e9b Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 19 Sep 2018 15:16:56 +0200 Subject: 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 --- utils/nfnl_osf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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) -- cgit v1.2.3