aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-04-01 21:33:53 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-04-01 21:34:20 +0200
commit286fad13ea9a815a573908a3b06a4e1a7c4bcb44 (patch)
tree977f8bf8a7e0ced473188660c454cce3a14ab673 /main
parentaef01ecb24dac59aabbc0aba6fbcd961eb98abed (diff)
downloadaports-286fad13ea9a815a573908a3b06a4e1a7c4bcb44.tar.bz2
aports-286fad13ea9a815a573908a3b06a4e1a7c4bcb44.tar.xz
main/nftables: fix wrong variable in runscript
Diffstat (limited to 'main')
-rw-r--r--main/nftables/APKBUILD4
-rw-r--r--main/nftables/nftables.initd2
2 files changed, 3 insertions, 3 deletions
diff --git a/main/nftables/APKBUILD b/main/nftables/APKBUILD
index 27e5542bba..9f14695c27 100644
--- a/main/nftables/APKBUILD
+++ b/main/nftables/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=nftables
pkgver=0.8.3
-pkgrel=1
+pkgrel=2
pkgdesc="Netfilter tables userspace tools"
url="http://netfilter.org/projects/nftables"
arch="all"
@@ -47,4 +47,4 @@ package() {
sha512sums="d3d97be10c2dcd1f15b9998e01254ff11438a2d83922e8b5207b641375ea12bb86ecbe4f9cb21cdf5998ddeb7c42b9e424dcb40a359cf42e06b9437a5ce4f72c nftables-0.8.3.tar.bz2
4eb1adf003dfcaad65c91af6ca88d91b7904c471aefae67e7d3c2f8e053e1ac196d3437a45d1fed5a855b876a0f1fc58a724e381d2acf1164d9120cadee73eef nftables.confd
-bfdb7f24a722f9b50303bbdb4e11bfd6e84abb62d1f6de6b579b00f96bd3c65e2f5c7317c0b660f53718bf4f2cdebf0f0ba0f0d37426a35b7afab24adb489389 nftables.initd"
+58daafb012b7cd0248a7db6e10f6a667e683347aaea7eaa78cb88780272f334e00913cea3fd39a22a4a72acc27fabd101944b40916f4b534ddeb509bd0232017 nftables.initd"
diff --git a/main/nftables/nftables.initd b/main/nftables/nftables.initd
index 13b2bc70fd..c763b395dd 100644
--- a/main/nftables/nftables.initd
+++ b/main/nftables/nftables.initd
@@ -78,7 +78,7 @@ start() {
nft -f "$rules_file"
eend $? || return 1
- if yesno "$ip_forward"; then
+ if yesno "$enable_forwarding"; then
ebegin "Enabling forwarding"
forwarding 1
eend $? || return 1