mirror of https://github.com/hak5/openwrt.git
parent
dffa972af1
commit
7d3495b431
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue