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


_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to