aboutsummaryrefslogtreecommitdiffstats
path: root/main/nftables/nftables.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/nftables/nftables.initd')
-rw-r--r--main/nftables/nftables.initd2
1 files changed, 1 insertions, 1 deletions
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