diff options
author | Steven Barth <steven@midlink.org> | 2012-11-29 20:14:14 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2012-11-29 20:14:14 +0000 |
commit | 53241a5e18f30e66f16ddf9fdeeb22eef50031c1 (patch) | |
tree | 89993e6747b67bfdcbf63ca69a0508d2a170f33a /package/network/ipv6/6relayd/files/6relayd.init | |
parent | 13a478551d908175ee38e96b658f724a87d6d064 (diff) | |
download | master-187ad058-53241a5e18f30e66f16ddf9fdeeb22eef50031c1.tar.gz master-187ad058-53241a5e18f30e66f16ddf9fdeeb22eef50031c1.tar.bz2 master-187ad058-53241a5e18f30e66f16ddf9fdeeb22eef50031c1.zip |
6relayd: Fix some RFC 6204 compatibility issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34419 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/6relayd/files/6relayd.init')
-rw-r--r-- | package/network/ipv6/6relayd/files/6relayd.init | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/package/network/ipv6/6relayd/files/6relayd.init b/package/network/ipv6/6relayd/files/6relayd.init index f1c100b2e5..8c50336d0c 100644 --- a/package/network/ipv6/6relayd/files/6relayd.init +++ b/package/network/ipv6/6relayd/files/6relayd.init @@ -64,12 +64,7 @@ start_6relayd() { [ $always_rewrite_dns -eq 1 ] && append args "-n" # In server mode the first interface needs to be passed twice - [ "$mode" == "server" ] && { - for iface in $ifaces; do - ifaces="$iface $ifaces" - break - done - } + [ "$mode" == "server" ] && ifaces=". $ifaces" service_start /usr/sbin/6relayd $args $ifaces } |