Blame SOURCES/nfnl_osf-Replace-deprecated-nfnl_talk-by-nfnl_query.patch

43df5c
From 4ee53b682e3ebb9a809007ec907f65ccfe4a1342 Mon Sep 17 00:00:00 2001
43df5c
From: Phil Sutter <psutter@redhat.com>
43df5c
Date: Fri, 15 Mar 2019 17:50:10 +0100
43df5c
Subject: [PATCH] nfnl_osf: Replace deprecated nfnl_talk() by nfnl_query()
43df5c
43df5c
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1525980
43df5c
Upstream Status: iptables commit 52aa15098ebd6
43df5c
43df5c
commit 52aa15098ebd62eaca9eb3c57c240df2455d8e9b
43df5c
Author: Phil Sutter <phil@nwl.cc>
43df5c
Date:   Wed Sep 19 15:16:56 2018 +0200
43df5c
43df5c
    nfnl_osf: Replace deprecated nfnl_talk() by nfnl_query()
43df5c
43df5c
    This eliminates the deprecation warning when compiling the sources.
43df5c
43df5c
    Signed-off-by: Phil Sutter <phil@nwl.cc>
43df5c
    Signed-off-by: Florian Westphal <fw@strlen.de>
43df5c
43df5c
Signed-off-by: Phil Sutter <psutter@redhat.com>
43df5c
---
43df5c
 utils/nfnl_osf.c | 2 +-
43df5c
 1 file changed, 1 insertion(+), 1 deletion(-)
43df5c
43df5c
diff --git a/utils/nfnl_osf.c b/utils/nfnl_osf.c
43df5c
index 972128f47ba04..c67485ee698b1 100644
43df5c
--- a/utils/nfnl_osf.c
43df5c
+++ b/utils/nfnl_osf.c
43df5c
@@ -384,7 +384,7 @@ static int osf_load_line(char *buffer, int len, int del)
43df5c
 
43df5c
 	nfnl_addattr_l(nmh, sizeof(buf), OSF_ATTR_FINGER, &f, sizeof(struct xt_osf_user_finger));
43df5c
 
43df5c
-	return nfnl_talk(nfnlh, nmh, 0, 0, NULL, NULL, NULL);
43df5c
+	return nfnl_query(nfnlh, nmh);
43df5c
 }
43df5c
 
43df5c
 static int osf_load_entries(char *path, int del)
43df5c
-- 
43df5c
2.21.0
43df5c