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

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