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

Denys Vlasenko vda.linux at googlemail.com
Fri Jan 19 17:45:16 UTC 2018


On Thu, Jan 18, 2018 at 5:08 PM, 蔡崴丞 <danny at saru.moe> wrote:
> 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.

Applied to git with some edits, please pull and let me know whether it works.


More information about the busybox mailing list