aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2020-04-08 10:35:14 -0700
committerMaciej Żenczykowski <maze@google.com>2020-04-16 02:41:30 +0000
commit382119f0e0cccb09f82d20fa9fe45e9132ade0ef (patch)
tree75053952a45e2fef208f87e24c6e55d70f44ef65
parent0ed5d63978553380fdbd77f8a7e74d74c29abdf1 (diff)
downloadiptables-382119f0e0cccb09f82d20fa9fe45e9132ade0ef.tar.gz
make it build
This is required because upstream has done significant refactoring: (a) merging iptables & ip6tables (b) the old iptables is now considered legacy, and nftables is the more modern tool. We don't want to move to nftables just yet. Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: If2fb190b8d0c8e0f97131b43a72b66d442ff0877
-rw-r--r--iptables/Android.bp6
1 files changed, 3 insertions, 3 deletions
diff --git a/iptables/Android.bp b/iptables/Android.bp
index 4f3f8cf3..d146bfb8 100644
--- a/iptables/Android.bp
+++ b/iptables/Android.bp
@@ -16,7 +16,7 @@ cc_defaults {
required: ["xtables.lock"],
srcs: [
- "xtables-multi.c",
+ "xtables-legacy-multi.c",
"iptables-xml.c",
"xshared.c",
],
@@ -73,8 +73,8 @@ cc_binary {
cflags: ["-UENABLE_IPV4"],
srcs: [
- "ip6tables-save.c",
- "ip6tables-restore.c",
+ "iptables-save.c",
+ "iptables-restore.c",
"ip6tables-standalone.c",
"ip6tables.c",
],