[PATCH v2] - Add support for link without MAC (like PPPoE/PPPoA)

蔡崴丞 danny at saru.moe
Thu Jan 18 16:08:39 UTC 2018


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20180118/29a27754/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox.patch
Type: application/octet-stream
Size: 5260 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20180118/29a27754/attachment.obj>


More information about the busybox mailing list