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

SCTP support #82

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

SCTP support #82

wants to merge 2 commits into from

Conversation

swordfeng
Copy link
Contributor

I added codes about SCTP in curses.c and select.c this time, and got SIGPIPE when MTRing to a non-existent address (which causes a loop route between two routers).
I modified net.c, to avoid SIGPIPE, but I don't know if I'm doing the right thing, as I'm not familiar with the whole program.

@LionNatsu
Copy link

How about the bug now?

@LionNatsu
Copy link

ref.: #81

@swordfeng
Copy link
Contributor Author

swordfeng commented Aug 3, 2016

@LionNatsu
I did not go deeply into the code... It seems that the previous PR just works well.
I'll be happy if you decide to do some further work.

case IPPROTO_SCTP:
mtrtype = IPPROTO_ICMP;
break;
}
return ActionNone;

Choose a reason for hiding this comment

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

new feature: here's a new switch key s for SCTP

Copy link

@LionNatsu LionNatsu Aug 3, 2016

Choose a reason for hiding this comment

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

Oh, it will surely not work. s conflicted with line 135, the key to Change Packet Size.

@LionNatsu
Copy link

BTW, why does TCP not emit SIGPIPE?

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.

2 participants