Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow fan bridges on unusual networks #38

Merged
merged 3 commits into from
Feb 24, 2023
Merged

Allow fan bridges on unusual networks #38

merged 3 commits into from
Feb 24, 2023

Conversation

stgraber
Copy link
Contributor

No description provided.

Stéphane Graber added 3 commits February 23, 2023 21:27
Signed-off-by: Stéphane Graber <stephane.graber@canonical.com>
Signed-off-by: Stéphane Graber <stephane.graber@canonical.com>
Signed-off-by: Stéphane Graber <stephane.graber@canonical.com>
@stgraber stgraber merged commit be966b5 into canonical:main Feb 24, 2023

underlaySize, _ := underlay.Mask.Size()
if underlaySize != 16 && underlaySize != 24 {
// Override to /16 as that will almost always lead to working Fan network.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth changing the behavior in lxd itself if its usually fine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants