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

MultipartType_PortDesc and PortStatus #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

MultipartType_PortDesc and PortStatus #4

wants to merge 4 commits into from

Conversation

lpzgithub
Copy link

  1. Add MultipartType_PortDesc Parse
  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

@@ -919,6 +922,7 @@ func NewPortStatus() *PortStatus {
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