[systemd-devel] [PATCH] sd-dhcp-client: support non-Ethernet hardware addresses
Patrik Flykt
Patrik.Flykt at linux.intel.com
Mon Oct 6 00:36:49 PDT 2014
On Fri, 2014-10-03 at 10:04 -0500, Dan Williams wrote:
> sd_dhcp_client_set_mac() does have an 'arp_type' parameter that's
> cached
> in the client struct, so that could be changed to:
>
> if (client->arp_type == ARPHRD_ETHER)
>
> if you'd like.
If it's there already, it is a good thing to use. It does look clearer
in the code that way.
Thanks,
Patrik
More information about the systemd-devel
mailing list