Closed cathay4t closed 1 year ago
DhcpError::kind()
DhcpError::msg()
DhcpV4Config::new()
DhcpV4Config
DhcpV4Config::init()
DhcpV4Client::init()
DhcpError::kind()
andDhcpError::msg()
.DhcpV4Config::new()
to returnDhcpV4Config
which does not try to check interface in kernel. TheDhcpV4Config::init()
invoked byDhcpV4Client::init()
will do the check and fill up the interface index and MAC address.