diff options
author | Steven Barth <cyrus@openwrt.org> | 2012-11-29 20:14:14 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2012-11-29 20:14:14 +0000 |
commit | 7d3495b4319f6361b9c77f483f3a092084c3e942 (patch) | |
tree | 51c8b0924ecc9ce153af61586b32314c8af83b4e /package/network/ipv6/6relayd/files | |
parent | dffa972af112bfde59cb56361cc7e533d50950b5 (diff) | |
download | upstream-7d3495b4319f6361b9c77f483f3a092084c3e942.tar.gz upstream-7d3495b4319f6361b9c77f483f3a092084c3e942.tar.bz2 upstream-7d3495b4319f6361b9c77f483f3a092084c3e942.zip |
6relayd: Fix some RFC 6204 compatibility issues
SVN-Revision: 34419
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 } |