Subject: dhclient --dad-wait-time command line param cannot be set on Centos Message-ID: From: tmark@isc.org Content-Type: text/plain; charset="utf-8" Date: Wed, 08 Nov 2017 21:02:49 +0000 X-Mailer: MIME-tools 5.508 (Entity 5.508) Content-Transfer-Encoding: binary Content-Disposition: inline To: dhcp-public@isc.org X-RT-Interface: Web MIME-Version: 1.0 X-RT-Original-Encoding: utf-8 Content-Length: 316 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: ". 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.