-
Notifications
You must be signed in to change notification settings - Fork 38
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
Feature: support destination persistent connections attribute #13
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: kwanhur <[email protected]>
check failed details do not relate with the feature codes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kwanhur looks like github thinks the email you are using is invalid, would it be possible to use a valid email address?
@@ -449,6 +449,8 @@ func assembleDestination(attrs []syscall.NetlinkRouteAttr) (*Destination, error) | |||
d.ActiveConnections = int(native.Uint16(attr.Value)) | |||
case ipvsDestAttrInactiveConnections: | |||
d.InactiveConnections = int(native.Uint16(attr.Value)) | |||
case ipvsDestAttrPersistentConnections: | |||
d.PersistentConnections = int(native.Uint16(attr.Value)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the kernel implementation this should be uint32?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeap, the connection attributes ActiveConnections
InactiveConnections
PersistentConnections
also should be uint32. Unified could be better.
it has been valid :-) |
Seeing this on github actions:
Maybe it's been fixed now, can you rebase and fix conflicts? |
Signed-off-by: kwanhur <[email protected]>
conflicts have been fixed :) |
Ping @andrewsykim how about this PR? |
Add
PersistentConnections
attribute inDestination
struct