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 ECN receipt on FreeBSD #658

Closed
keithw opened this issue Aug 2, 2015 · 1 comment
Closed

Fix ECN receipt on FreeBSD #658

keithw opened this issue Aug 2, 2015 · 1 comment

Comments

@keithw
Copy link
Member

keithw commented Aug 2, 2015

Right now mosh only checks for the IP_TOS cmsg type to get the ECN bits (https://github.com/mobile-shell/mosh/blob/master/src/network/network.cc#L496).

On FreeBSD, the type is actually IP_RECVTOS (Linux uses IP_TOS).

So mosh should check for both cmsg types in order to make ECN receipt work properly on FreeBSD.

(Per 2014 email from Michael Tuexen)

@cgull
Copy link
Member

cgull commented Jun 9, 2016

Fixed by dfdfa5d.

@cgull cgull closed this as completed Jun 9, 2016
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

No branches or pull requests

2 participants