CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2017/10/09 15:33:11

Modified files:
        sbin/dhclient  : clparse.c dhcpd.h parse.c 

Log message:
Tweak parse_lease_time() to emit a single message on
failure ("expecting unsigned 32-bit decimal value") and to
properly handle the terminating ';' in error situations.

Make parse_lease_time() return an int to indicate success
or failure as its friends do. Also avoid swapping endianess
twice.

Use == 1 vs != 0 when checking parse_ip_addr() return
value.

Reply via email to