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

Udp interface does not work for non-localhost #580

onurturhan opened this issue Sep 27, 2017 · 3 comments

Udp interface does not work for non-localhost #580

onurturhan opened this issue Sep 27, 2017 · 3 comments


Copy link

@onurturhan onurturhan commented Sep 27, 2017

Udp interface works well until version 3.9.2 for "non-localhost" IP's. However, this interface doesn't send commands or receive telemetries from udp interface after version 4.0.0 or 4.0.1(tested version) for "non-localhost" IP's. (Tested on CentOS7, CentOS6, Windows7)

INTERFACE TEST_INT udp_interface.rb 1234 1235

Copy link

@nickollasaranha nickollasaranha commented Sep 28, 2017

It happens that UdpInterface has a:
@hostname = '' if @hostname.casecmp('LOCALHOST')
and it should be
@hostname = '' if @hostname.upcase.eql?('LOCALHOST')

Copy link

@jasonatball jasonatball commented Sep 28, 2017

You are correct. I think this is my regression. I'll get it fixed ASAP.

Copy link

@ryanatball ryanatball commented Sep 29, 2017

This is now fixed in COSMOS 4.0.2

@ryanatball ryanatball added the bug label Sep 29, 2017
@ryanatball ryanatball added this to the v4.0.2 milestone Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants
You can’t perform that action at this time.