mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-29 12:50:47 +00:00
Fix parsing of IAID>MAXINT in leases file.
Thanks to Christof Meerwald for the bug report.
This commit is contained in:
1 parent
6f9aaa93e9
commit
9de1aa9b7f
1 file changed
+1
-1
+1
-1
@@ -115,7 +115,7 @@ void lease_init(time_t now)
|
||||
s++;
|
||||
}
|
||||
|
||||
hw_type = atoi(s);
|
||||
hw_type = strtoul(s, NULL, 10);
|
||||
|
||||
if ((lease = lease6_allocate(&addr.addr.addr6, lease_type)))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user