mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 16:31:24 +00:00
whoops
This commit is contained in:
parent
8f43126934
commit
a3170d5aab
@ -248,7 +248,7 @@ void write_leases(void)
|
||||
else leases[i].expires -= curr;
|
||||
} /* else stick with the time we got */
|
||||
leases[i].expires = htonl(leases[i].expires);
|
||||
fwrite(leases[i], sizeof(sturct dhcpOfferedAddr), 1, fp);
|
||||
fwrite(&leases[i], sizeof(struct dhcpOfferedAddr), 1, fp);
|
||||
|
||||
/* Then restore it when done. */
|
||||
leases[i].expires = tmp_time;
|
||||
|
Loading…
Reference in New Issue
Block a user