Changeset 38314


Ignore:
Timestamp:
2013-10-07T10:43:33+02:00 (4 years ago)
Author:
cyrus
Message:

odhcp6c: improve server selection, introduce "forceprefix" option

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

Legend:

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

    r38285 r38314  
    99 
    1010PKG_NAME:=odhcp6c 
    11 PKG_VERSION:=2013-10-02 
     11PKG_VERSION:=2013-10-07 
    1212PKG_RELEASE=$(PKG_SOURCE_VERSION) 
    1313 
     
    1616PKG_SOURCE_URL:=git://github.com/sbyx/odhcp6c.git 
    1717PKG_SOURCE_PROTO:=git 
    18 PKG_SOURCE_VERSION:=357ecc1f5163bc7f74c64f4bca387e8d44a2eac5 
     18PKG_SOURCE_VERSION:=d2c90000292f62962276579fa6b2eac1ff4b76e6 
    1919PKG_MAINTAINER:=Steven Barth <steven@midlink.org> 
    2020 
  • trunk/package/network/ipv6/odhcp6c/files/dhcpv6.sh

    r37148 r38314  
    1111        proto_config_add_string "reqopts" 
    1212        proto_config_add_string "noslaaconly" 
     13        proto_config_add_string "forceprefix" 
    1314        proto_config_add_string "norelease" 
    1415        proto_config_add_string "ip6prefix" 
     
    2122        local iface="$2" 
    2223 
    23         local reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix iface_dslite ifaceid 
    24         json_get_vars reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix iface_dslite ifaceid 
     24        local reqaddress reqprefix clientid reqopts noslaaconly forceprefix norelease ip6prefix iface_dslite ifaceid 
     25        json_get_vars reqaddress reqprefix clientid reqopts noslaaconly forceprefix norelease ip6prefix iface_dslite ifaceid 
    2526 
    2627 
     
    3536 
    3637        [ "$noslaaconly" = "1" ] && append opts "-S" 
     38 
     39        [ "$forceprefix" = "1" ] && append opts "-F" 
    3740 
    3841        [ "$norelease" = "1" ] && append opts "-k" 
Note: See TracChangeset for help on using the changeset viewer.