Use the same options for acquiring, renewing lease
Use the same options for acquiring, renewing lease

Currently, hostname is set in the original DHCPREQUEST but not the
renewal. With some DHCP server implementations (such as FreeBSD dhcpd),
this leads to the hostname being cleared in the lease table.

This behavior is inconsistent with other DHCP clients such as dhclient
which set the hostname on the renewal request as well. To fix, use the
same options for acquire and renew.

This is compatible with RFC 2131 (see table 5).

Signed-off-by: Akhil Velagapudi <1b6453892473a467d07372d45eb05abc2031647a@4khil.com>

containernetworking/plugins,containernetworking/plugins