diff options
author | Steven Barth <steven@midlink.org> | 2008-07-16 10:08:28 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-16 10:08:28 +0000 |
commit | 429473aed896a8f038d8934c8711a29366a894c5 (patch) | |
tree | 958d0b7459f644ee5ffd996acc7f14528292749f /applications/luci-fw/root | |
parent | 9b1ef9e2b1a9e318a2840ee4b846f7ca8d82d3bb (diff) |
applications/luci-fw: Added support for luci-mini
modules/admin-mini: Added portforwarding page, and UCI changes, apply and revert pages
Diffstat (limited to 'applications/luci-fw/root')
-rwxr-xr-x | applications/luci-fw/root/etc/init.d/luci_fw | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-fw/root/etc/init.d/luci_fw b/applications/luci-fw/root/etc/init.d/luci_fw index 5f09b5277..86d8a56a3 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/-/:/')" |