Since d6_read_interface relies on AF_PACKET (only exists when mac address
exists) for getting ifindex, dhcpc6 can't get ifindex on link without mac
address (like PPPoE.)
This patch fallbacks to ioctl SIOCGIFINDEX call for getting ifindex.
Also, this patch generates random client id when there is no mac address.

Attachment: busybox.patch
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to