diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2006-10-03 12:27:48 +0000 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:36 +0200 |
commit | 8c61c670bc5364d1f7a871a3fb09275fa10edef2 (patch) | |
tree | 86e4dd6f830cec22f6dd2c28448746d1a1d8b1b9 /config.c | |
parent | aad7c1995ac2ec92d6c2e55a94b67ca797dae914 (diff) |
dhcp6s does not include a 0 refresh-time option in ADVERTISE/REPLY message, when "option refreshtime" configuration does not exist in its configuration.
(patch submitted by Jun-ya Kato)
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,7 +67,7 @@ struct dhcp6_list siplist, sipnamelist, dnslist, dnsnamelist, ntplist; struct dhcp6_list nislist, nisnamelist; struct dhcp6_list nisplist, nispnamelist; struct dhcp6_list bcmcslist, bcmcsnamelist; -long long optrefreshtime = -1; +long long optrefreshtime; static struct dhcp6_ifconf *dhcp6_ifconflist; struct ia_conflist ia_conflist0; @@ -78,7 +78,7 @@ static struct dhcp6_list siplist0, sipnamelist0, dnslist0, dnsnamelist0, ntplist static struct dhcp6_list nislist0, nisnamelist0; static struct dhcp6_list nisplist0, nispnamelist0; static struct dhcp6_list bcmcslist0, bcmcsnamelist0; -static long long optrefreshtime0; +static long long optrefreshtime0 = -1; #ifndef DHCP6_DYNAMIC_HOSTCONF_MAX #define DHCP6_DYNAMIC_HOSTCONF_MAX 1024 #endif |