Author: cyrus Date: 2014-08-05 11:57:55 +0200 (Tue, 05 Aug 2014) New Revision: 41998
Modified: trunk/package/network/config/gre/Makefile trunk/package/network/config/gre/files/gre.sh Log: gre: Change hostdependcy to remote endpoint tunnel address Depend on the GRE tunnel peeraddr to trigger setup of the tunnel interface. Addresses the issue reported in https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027201.html Signed-off-by: Hans Dedecker <[email protected]> Modified: trunk/package/network/config/gre/Makefile =================================================================== --- trunk/package/network/config/gre/Makefile 2014-08-04 20:54:57 UTC (rev 41997) +++ trunk/package/network/config/gre/Makefile 2014-08-05 09:57:55 UTC (rev 41998) @@ -9,7 +9,7 @@ PKG_NAME:=gre PKG_VERSION:=1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 include $(INCLUDE_DIR)/package.mk Modified: trunk/package/network/config/gre/files/gre.sh =================================================================== --- trunk/package/network/config/gre/files/gre.sh 2014-08-04 20:54:57 UTC (rev 41997) +++ trunk/package/network/config/gre/files/gre.sh 2014-08-05 09:57:55 UTC (rev 41998) @@ -51,7 +51,7 @@ exit } - ( proto_add_host_dependency "$cfg" "0.0.0.0" "$tunlink" ) + ( proto_add_host_dependency "$cfg" "$peeraddr" "$tunlink" ) [ -z "$ipaddr" ] && { local wanif="$tunlink" @@ -108,7 +108,7 @@ exit } - ( proto_add_host_dependency "$cfg" "::" "$tunlink" ) + ( proto_add_host_dependency "$cfg" "$peer6addr" "$tunlink" ) [ -z "$ip6addr" ] && { local wanif="$tunlink" _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
