9d617478bd
The code has its own TIME type, which is actually defined to time_t, but it still used u_int32_t in some places. In addition, dhclient not only had two separate global cur_time variables, one of which was defined as u_int32_t and the other as TIME, but cur_time was sometimes shadowed by local variables, leading to widespread confusion as to which of these variable was being referenced. There is a lesson in here somewhere: a decent compiler with warnings enabled should have caught all of this long before it became a problem. This patch has been submitted to the vendor, but it will likely be some time before they release a version that includes it. Approved by: mbr |
||
---|---|---|
.. | ||
alloc.c | ||
bpf.c | ||
comapi.c | ||
conflex.c | ||
ctrace.c | ||
dhcp-eval.5 | ||
dhcp-options.5 | ||
discover.c | ||
dispatch.c | ||
dlpi.c | ||
dns.c | ||
ethernet.c | ||
execute.c | ||
fddi.c | ||
icmp.c | ||
inet.c | ||
iscprint.c | ||
lpf.c | ||
Makefile.dist | ||
memory.c | ||
nit.c | ||
options.c | ||
packet.c | ||
parse.c | ||
print.c | ||
raw.c | ||
resolv.c | ||
socket.c | ||
tables.c | ||
tr.c | ||
tree.c | ||
upf.c |