mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Ticket: CM-4859, CM-4382 Reviewed By: Testing Done: Tested with config which included bond bridge ports with zero address on the bond. The bridge driver rejects the port add with -EINVAL. A bond with no slaves is one usecase where the bond interface has a zero hw address and is rejected by the bridge. EINVAL currently is very confusing. This patch checks for a valid ether add before enslaving the port to the bridge.