From 429473aed896a8f038d8934c8711a29366a894c5 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 16 Jul 2008 10:08:28 +0000 Subject: applications/luci-fw: Added support for luci-mini modules/admin-mini: Added portforwarding page, and UCI changes, apply and revert pages --- applications/luci-fw/root/etc/init.d/luci_fw | 2 ++ 1 file changed, 2 insertions(+) (limited to 'applications/luci-fw/root/etc/init.d') diff --git a/applications/luci-fw/root/etc/init.d/luci_fw b/applications/luci-fw/root/etc/init.d/luci_fw index 5f09b52770..86d8a56a32 100755 --- a/applications/luci-fw/root/etc/init.d/luci_fw +++ b/applications/luci-fw/root/etc/init.d/luci_fw @@ -15,6 +15,8 @@ apply_portfw() { [ -n "$ifname" ] || return 0 [ -n "$to" ] || return 0 + dport=$(echo $dport | sed -e 's/-/:/') + ports=$(echo $to | cut -sd: -f2) if [ -n "$ports" ]; then ports="--dport $(echo $ports | sed -e 's/-/:/')" -- cgit v1.2.3