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

port/builtin: return proper error for sctp #466

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

Luap99
Copy link
Contributor

@Luap99 Luap99 commented Sep 18, 2024

When trying to forward sctp port we get a useless
"rootlessport spec was not validated" error back even though the spec was validated before. It is not clear to me if other drivers support sctp here so I didn't want to change ValidatePortSpec to disallow sctp.

As such simply return a useful error saying the protocol is not supported.

When trying to forward sctp port we get a useless
"rootlessport spec was not validated" error back even though the spec
was validated before. It is not clear to me if other drivers support
sctp here so I didn't want to change ValidatePortSpec to disallow sctp.

As such simply return a useful error saying the protocol is not
supported.

Signed-off-by: Paul Holzinger <[email protected]>
@AkihiroSuda AkihiroSuda added this to the v2.3.2 milestone Sep 18, 2024
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit 24fc6d2 into rootless-containers:master Sep 18, 2024
5 checks passed
@Luap99 Luap99 deleted the port-error branch September 19, 2024 08:23
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.

2 participants