Skip to content

Fix logic for checking if parent is a bridge in IsPhysicalWithBridge#2347

Merged
stgraber merged 1 commit intolxc:mainfrom
presztak:physical_bridge_mac2
Aug 4, 2025
Merged

Fix logic for checking if parent is a bridge in IsPhysicalWithBridge#2347
stgraber merged 1 commit intolxc:mainfrom
presztak:physical_bridge_mac2

Conversation

@presztak
Copy link
Copy Markdown
Contributor

@presztak presztak commented Aug 3, 2025

This PR enhances the logic for detecting whether a parent network interface is a bridge. Previously, the check only worked for bridges created by Incus itself. Now, it correctly identifies external bridge interfaces as well.

Fixes: #2248

@presztak presztak force-pushed the physical_bridge_mac2 branch from 1489c82 to db3614a Compare August 3, 2025 15:30
@presztak presztak marked this pull request as ready for review August 4, 2025 08:26
@presztak presztak requested a review from stgraber as a code owner August 4, 2025 08:26
@stgraber stgraber enabled auto-merge August 4, 2025 14:45
@stgraber stgraber merged commit cf4e442 into lxc:main Aug 4, 2025
70 of 72 checks passed
@presztak presztak deleted the physical_bridge_mac2 branch August 6, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

VM refuses to start with physical network device

2 participants