Skip to content

Conversation

@lpzgithub
Copy link

  1. Add MultipartType_PortDesc Parse
  2. modify PortStatus UnmarshalBinary Parse field is incorrect

2. modify PortStatus UnmarshalBinary Parse field is incorrect

n = 0

for _, r := range s.ports {
Copy link

Choose a reason for hiding this comment

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

Can you remove these extra spaces here ?

Copy link
Author

Choose a reason for hiding this comment

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

ok,I I adjust the code again

p := new(PortStatus)
p.Header = NewOfp13Header()
p.pad = make([]byte, 7)
p.Desc = *NewPhyPort()
Copy link
Contributor

Choose a reason for hiding this comment

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

Please nil check.

GraysonWu pushed a commit to GraysonWu/libOpenflow that referenced this pull request Jul 8, 2021
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.

3 participants