On Thu, 2014-05-29 at 18:18 +0100, Tom Gundersen wrote: > + if (link->udev_device) { > + const char *l2; > + > + l2 = udev_device_get_sysattr_value(link->udev_device, "layer2"); > + if (l2) { > + unsigned layer2; > + > + r = safe_atou(l2, &layer2); > + if (r < 0) > + return r; > + > + if (!layer2) { > + r = sd_dhcp_client_request_broadcast(link->dhcp_client); > + if (r < 0) > + return r; > + }
Am I now missing something if I can't find the file /sys/class/net/<device>/device/layer2 for a regular networking interface? The above enables broadcast only for virtual interfaces, right? Cheers, Patrik _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel