Changeset 35902


Ignore:
Timestamp:
2013-03-08T08:04:38+01:00 (5 years ago)
Author:
cyrus
Message:

odhcp6c: various bugfixes

  • Don't prematurely send RENEW / REBIND when T1 or T2 is > 1 day
  • Add "norelease" option to not send a RELEASE when stopping
Location:
trunk/package/network/ipv6/odhcp6c
Files:
2 edited

Legend:

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

    r35570 r35902  
    99 
    1010PKG_NAME:=odhcp6c 
    11 PKG_VERSION:=2013-02-12 
     11PKG_VERSION:=2013-03-08 
    1212PKG_RELEASE=$(PKG_SOURCE_VERSION) 
    1313 
     
    1616PKG_SOURCE_URL:=git://github.com/sbyx/odhcp6c.git 
    1717PKG_SOURCE_PROTO:=git 
    18 PKG_SOURCE_VERSION:=31ce2ea9f57322d526daf266c7fca4bd407297cb 
     18PKG_SOURCE_VERSION:=e8b07f018cbdf8f2a08f93af46904e7ffb9eb123 
    1919PKG_MAINTAINER:=Steven Barth <steven@midlink.org> 
    2020 
  • trunk/package/network/ipv6/odhcp6c/files/dhcpv6.sh

    r35570 r35902  
    1111        proto_config_add_string "reqopts" 
    1212        proto_config_add_string "noslaaconly" 
     13        proto_config_add_string "norelease" 
    1314        proto_config_add_string "ip6prefix" 
    1415} 
     
    1819        local iface="$2" 
    1920 
    20         local reqaddress reqprefix clientid reqopts noslaaconly ip6prefix 
    21         json_get_vars reqaddress reqprefix clientid reqopts noslaaconly ip6prefix 
     21        local reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix 
     22        json_get_vars reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix 
    2223 
    2324 
     
    3233 
    3334        [ "$noslaaconly" = "1" ] && append opts "-S" 
     35 
     36        [ "$norelease" = "1" ] && append opts "-k" 
    3437 
    3538        for opt in $reqopts; do 
Note: See TracChangeset for help on using the changeset viewer.