Changeset 22709 for branches/backfire


Ignore:
Timestamp:
2010-08-19T02:59:48+02:00 (6 years ago)
Author:
jow
Message:

[backfire] merge r22708

Location:
branches/backfire/package/6in4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/6in4/Makefile

    r22606 r22709  
    99 
    1010PKG_NAME:=6in4 
    11 PKG_VERSION:=4 
     11PKG_VERSION:=5 
    1212PKG_RELEASE:=1 
    1313 
  • branches/backfire/package/6in4/files/6in4.sh

    r22606 r22709  
    2929        local link="6in4-$cfg" 
    3030 
    31         local local4 
    32         config_get local4 "$cfg" ipaddr 
     31        local local4=$(uci_get network "$cfg" local4) 
    3332 
    3433        local remote4 
     
    6362                uci_set_state network "$cfg" auto 0 
    6463 
    65                 ip tunnel add $link mode sit remote $remote4 local $local4 ttl 255 
     64                ip tunnel add $link mode sit remote $remote4 local $local4 ttl ${ttl:-64} 
    6665                ip link set $link up 
    6766                ip link set mtu ${mtu:-1280} dev $link 
    68                 ip tunnel change $link ttl ${ttl:-64} 
    6967                ip addr add $local6 dev $link 
    7068 
Note: See TracChangeset for help on using the changeset viewer.