1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 06:55:31 +02:00

6relayd: Fix some RFC 6204 compatibility issues

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34419 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cyrus 2012-11-29 20:14:14 +00:00
parent 439653651a
commit 51e67fc835
2 changed files with 4 additions and 9 deletions

View File

@ -8,14 +8,14 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=6relayd
PKG_VERSION:=2012-11-17
PKG_VERSION:=2012-11-27
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=git://nbd.name/6relayd.git
PKG_SOURCE_URL:=git://github.com/sbyx/6relayd.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=f0fec4df02e3310de134e46e9826dbeedb86119a
PKG_SOURCE_VERSION:=fa0f64a2d916ba488141c7272af7b355dd1002eb
PKG_MAINTAINER:=Steven Barth <steven@midlink.org>

View File

@ -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
}