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

Fix some errors when running sctp_socket_options.pkt #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jijianwen
Copy link
Contributor

  1. sctp_socket_options.pkt:41: runtime error in setsockopt call:
    Expected result 0 but got -1 with errno 22 (Invalid argument)

    add 'assoc_id=0' for getsockopt(SCTP_MAX_BURST).

  2. sctp_socket_options.pkt:47: runtime error in getsockopt call:
    can't determine spp_address

    comment out this item which should not be run

  3. sctp_socket_options.pkt:48: runtime error in getsockopt call:
    sctp_paddrparams.spp_pathmaxrxt: expected: 6 actual: 5

    change spp_pathmaxrxt to be 5 since the default value of
    path_max_retrans is 5 on Linux.

Signed-off-by: Jianwen Ji jijianwen@gmail.com

1) sctp_socket_options.pkt:41: runtime error in setsockopt call:
   Expected result 0 but got -1 with errno 22 (Invalid argument)

   add 'assoc_id=0' for getsockopt(SCTP_MAX_BURST).

2) sctp_socket_options.pkt:47: runtime error in getsockopt call:
   can't determine spp_address

   comment out this item which should not be run

3) sctp_socket_options.pkt:48: runtime error in getsockopt call:
   sctp_paddrparams.spp_pathmaxrxt: expected: 6 actual: 5

   change spp_pathmaxrxt to be 5 since the default value of
   path_max_retrans is 5 on Linux.

Signed-off-by: Jianwen Ji <jijianwen@gmail.com>
@jijianwen
Copy link
Contributor Author

@tuexen , please help review

@jijianwen
Copy link
Contributor Author

Any update on this commit?

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.

1 participant