odhcp6c: some more fixes for map / lw4o6 support
authorSteven Barth <cyrus@openwrt.org>
Thu, 8 May 2014 09:17:55 +0000 (09:17 +0000)
committerSteven Barth <cyrus@openwrt.org>
Thu, 8 May 2014 09:17:55 +0000 (09:17 +0000)
SVN-Revision: 40728

package/network/ipv6/odhcp6c/Makefile
package/network/ipv6/odhcp6c/files/dhcpv6.script

index e8bdbded42c513d04c94f5f842dece98a710afc8..26a599be2645eae7b4b6ea142ebe8b7a41823ab4 100644 (file)
@@ -8,14 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=odhcp6c
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=odhcp6c
-PKG_VERSION:=2014-04-30
+PKG_VERSION:=2014-05-08
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_URL:=git://github.com/sbyx/odhcp6c.git
 PKG_SOURCE_PROTO:=git
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_URL:=git://github.com/sbyx/odhcp6c.git
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=a0bbaf5bffc66b1693577a374a9a599e313aefe1
+PKG_SOURCE_VERSION:=fa291eaf4ea0d94e84e9fb617ff81abae04a2835
 PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
 
 include $(INCLUDE_DIR)/package.mk
 PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
 
 include $(INCLUDE_DIR)/package.mk
index 3599284d80f1f22af8e25c0395ad8db1939c90b9..7a7f76f8338bede616baf2c8ed18f9bc10f6f39e 100755 (executable)
@@ -115,6 +115,7 @@ setup_interface () {
                json_add_string proto map
                json_add_string type "$MAPTYPE"
                json_add_string rule "$MAPRULE"
                json_add_string proto map
                json_add_string type "$MAPTYPE"
                json_add_string rule "$MAPRULE"
+               json_add_string tunlink "$INTERFACE"
                [ -n "$ZONE_MAP" ] && json_add_string zone "$ZONE_MAP"
                [ -n "$IFACE_MAP_DELEGATE" ] && json_add_boolean delegate "$IFACE_MAP_DELEGATE"
                json_close_object
                [ -n "$ZONE_MAP" ] && json_add_string zone "$ZONE_MAP"
                [ -n "$IFACE_MAP_DELEGATE" ] && json_add_boolean delegate "$IFACE_MAP_DELEGATE"
                json_close_object