diff options
author | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-29 20:14:14 +0000 |
---|---|---|
committer | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-29 20:14:14 +0000 |
commit | 51e67fc835c4861a5ed19aceb71fdfcf051b0ea8 (patch) | |
tree | 89993e6747b67bfdcbf63ca69a0508d2a170f33a /package/network/ipv6/6relayd/files | |
parent | 439653651a9f6137594343174cba597ecd1527af (diff) |
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')
-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 } |