Skip to content

Use 'ip' command when netstat is not found#1609

Open
jpasher-lazor wants to merge 1 commit intoCISOfy:masterfrom
jpasher-lazor:NETW-3001_add_ip_command
Open

Use 'ip' command when netstat is not found#1609
jpasher-lazor wants to merge 1 commit intoCISOfy:masterfrom
jpasher-lazor:NETW-3001_add_ip_command

Conversation

@jpasher-lazor
Copy link
Contributor

This adds the 'ip' command for retrieving the default gateway, in addition to netstat. The core logic was taken from PR #1528 by xezpeleta.

This resolves #1527.

@xezpeleta
Copy link

I'm interested in this improvement. The netstat command (net-tools package) is not installed by default on recent versions of Debian, so making this test work with the ip command would be great and improve compatibility with modern systems.

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.

default_gateway not found

2 participants