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 freebsd netstat route on fbsd 10+ #35325

Merged
merged 1 commit into from
Aug 10, 2016

Conversation

kev009
Copy link
Contributor

@kev009 kev009 commented Aug 9, 2016

What does this PR do?

netstat seems to have changed in fbsd 10 and up. I don't have a fbsd 9 box to test, but the old function works on fbsd 8. Thanks to LLNW coworker Greg Phelps for discovery and fix proposal.

What issues does this PR fix or reference?

If we are on fbsd10, use the right column indexes

Previous Behavior

fbsd10+ will print a backtrace when running this function

New Behavior

fbsd10+ work with this function, fbsd8 continues to work

Tests written?

No

@cachedout cachedout merged commit cfae862 into saltstack:2015.8 Aug 10, 2016
@cachedout
Copy link
Contributor

Thanks, @kev009

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