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

Change IpRoutesParser regex to respect new netstat output #4627

Open
wants to merge 1 commit into
base: support/6.x
Choose a base branch
from

Conversation

odubrovyk
Copy link
Member

Fixes ZEN-35186.

The netstat output for Ubuntu 20/22 omits the netmask if the netmask value is /32 or 255.255.255.255.
The IpRoutesParser omits the IP routes with such a mask.
The regex has been changed to match only the routes with the following pattern <ip_address/netmask>.

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