Changeset 45590


Ignore:
Timestamp:
2015-04-30T14:43:46+02:00 (3 years ago)
Author:
cyrus
Message:

map: shorten autogenerated sub-interface names to account for limits

Signed-off-by: Steven Barth <steven@…>

Location:
trunk/package/network/ipv6/map
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/ipv6/map/Makefile

    r43961 r45590  
    1010PKG_NAME:=map 
    1111PKG_VERSION:=3 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313PKG_LICENSE:=GPL-2.0 
    1414 
  • trunk/package/network/ipv6/map/files/map.sh

    r44246 r45590  
    177177        if [ "$type" = "lw4o6" -o "$type" = "map-e" ]; then 
    178178                json_init 
    179                 json_add_string name "${cfg}_local" 
     179                json_add_string name "${cfg}_" 
    180180                json_add_string ifname "@$(eval "echo \$RULE_${k}_PD6IFACE")" 
    181181                json_add_string proto "static" 
     
    190190proto_map_teardown() { 
    191191        local cfg="$1" 
    192         ifdown "${cfg}_local" 
     192        ifdown "${cfg}_" 
    193193        rm -f /tmp/map-$cfg.rules 
    194194} 
Note: See TracChangeset for help on using the changeset viewer.