summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-14 20:16:56 +0000
committerSteven Barth <steven@midlink.org>2008-05-14 20:16:56 +0000
commitbc253802f4dbb58aef372e4a815db4cb5d54d73d (patch)
treefed8df749d0f6206f5b29e4cdd46a5f40731411c /applications
parent91a054c8834dfd82bd5b2e80272f21ee05348c7d (diff)
* applications/luci-fw: Fixed initscript
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-fw/root/etc/init.d/luci_fw4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-fw/root/etc/init.d/luci_fw b/applications/luci-fw/root/etc/init.d/luci_fw
index 51faef9084..5f09b52770 100644
--- a/applications/luci-fw/root/etc/init.d/luci_fw
+++ b/applications/luci-fw/root/etc/init.d/luci_fw
@@ -59,14 +59,14 @@ apply_routing() {
config_get ifmask "$iface" netmask
eval "$(ipcalc.sh $ifip $ifmask)"
- iptables -t nat -A luci_freifunk_postrouting -s "$NETWORK/$PREFIX" -o "$oface" -j MASQUERADE
+ iptables -t nat -A luci_fw_postrouting -s "$NETWORK/$PREFIX" -o "$ofname" -j MASQUERADE
[ "$bidi" -gt 0 ] && {
config_get ofip "$oface" ipaddr
config_get ofmask "$oface" netmask
eval "$(ipcalc.sh $ofip $ofmask)"
- iptables -t nat -A luci_freifunk_postrouting -s "$NETWORK/$PREFIX" -o "$iface" -j MASQUERADE
+ iptables -t nat -A luci_fw_postrouting -s "$NETWORK/$PREFIX" -o "$ifname" -j MASQUERADE
}
}
}