-
Notifications
You must be signed in to change notification settings - Fork 745
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
Optimizations #597
base: main
Are you sure you want to change the base?
Optimizations #597
Conversation
@@ -362,46 +362,44 @@ func (a *RtAttr) Serialize() []byte { | |||
|
|||
type NetlinkRequest struct { |
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.
This is an exported type. Other project may already be using it and the members you are removing are unfortunately exported as well.
func (req *NetlinkRequest) AddData(data NetlinkRequestData) { | ||
req.Data = append(req.Data, data) | ||
// AddRtAttr adds an RtAttr to the request | ||
func (req *NetlinkRequest) AddRtAttr(attrType int, data []byte) *NetlinkRequest { |
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.
This one also changes existing exported methods.
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.
Thank you for the change.
We need to see how to deal with the API changes
Looks like the Travis failed at the same test as in #581 |
pls fix conflicts |
ping... |
No description provided.