tr181: dhcpv4: Use uint64_t for lease timestamp

The timestamp written by dnsmasq in the dhcp.leases file has 64 bit.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
This commit is contained in:
Daniel Danzberger 2020-02-12 18:27:53 +01:00
parent 234ab4e70d
commit 84f3354f5c

View file

@ -17,7 +17,7 @@
struct dhcp_lease {
time_t ts;
uint64_t ts;
char hwaddr[20];
char ipaddr[16];
struct list_head list;