Changeset 41998


Ignore:
Timestamp:
2014-08-05T11:57:55+02:00 (3 years ago)
Author:
cyrus
Message:

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 <dedeckeh@…>

Location:
trunk/package/network/config/gre
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/config/gre/Makefile

    r41897 r41998  
    1010PKG_NAME:=gre 
    1111PKG_VERSION:=1 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • trunk/package/network/config/gre/files/gre.sh

    r41897 r41998  
    5252        } 
    5353 
    54         ( proto_add_host_dependency "$cfg" "0.0.0.0" "$tunlink" ) 
     54        ( proto_add_host_dependency "$cfg" "$peeraddr" "$tunlink" ) 
    5555 
    5656        [ -z "$ipaddr" ] && { 
     
    109109        } 
    110110 
    111         ( proto_add_host_dependency "$cfg" "::" "$tunlink" ) 
     111        ( proto_add_host_dependency "$cfg" "$peer6addr" "$tunlink" ) 
    112112 
    113113        [ -z "$ip6addr" ] && { 
Note: See TracChangeset for help on using the changeset viewer.