mirror of
https://github.com/moby/moby.git
synced 2026-07-18 21:42:13 +00:00
The only case where macvlan interfaces are unable to share a parent is when the macvlan mode is passthru. This change tightens the check to that situation. It also makes the error message more specific to avoid suggesting that sharing parents is never correct. Signed-off-by: Andrew Baxter <423qpsxzhh8k3h@s.rendaw.me> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>