This is a simple fix for "option macaddr" when set on a bridge interface.

Currently, the MAC is set in /lib/network/config.sh when the bridge is first 
created, but is not set again when any subsequent interfaces are added to that 
bridge (an action which seems to set the MAC, as well.)

The patch just pulls out the "ifconfig hw ether XXXX" step into a function, and 
calls it from both places.

Regards,

Angus

PS Sorry it's an attachment, I don't have ready access to a mail client that 
doesn't mangle text.

Attachment: config-hwaddr.patch
Description: Binary data

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to