6relayd: Fix some RFC 6204 compatibility issues

SVN-Revision: 34419
lede-17.01
Steven Barth 2012-11-29 20:14:14 +00:00
parent dffa972af1
commit 7d3495b431
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
}