Subject: | dhclient --dad-wait-time command line param cannot be set on Centos |
From: | tmark@isc.org |
Date: | Wed, 08 Nov 2017 21:02:49 +0000 |
To: | dhcp-public@isc.org |
The dhclient command line parameter, --dad-wait-time, cannot be set to valid values. One is always presented with an error "Invalid value for --dad-wait-time: <value entered>".
Turns out the call to strtol should be preceded by setting errno to 0. Apparently the function may not always set it to zero on success.