serverinfo icon indicating copy to clipboard operation
serverinfo copied to clipboard

Improve gateway information parsing

Open overhacked opened this issue 4 years ago • 2 comments

  1. Fix FreeBSD-specific parsing that missed any digits of the last IP octet more than a single digit.
  2. Support IPv6 addresses as the default gateway
  3. Parse multiple default gateways in a dual-stack IPv4/IPv6 system
  4. Switch DefaultOs.php to use preg_match_all() instead of a shell pipeline for parsing.

overhacked avatar Oct 21 '21 02:10 overhacked

I already did something similar (but not reviewed yet): https://github.com/nextcloud/serverinfo/pull/271

tflidd avatar Nov 01 '21 14:11 tflidd

The other PR was merged. Can you rebase and check if you have other things to fix in your PR?

tflidd avatar Apr 21 '22 14:04 tflidd

Thanks for your pull request 👍

I'm closing the pull request due to the lack of activity. Please submit a new patch if the change is still needed.

kesselb avatar Jun 27 '23 08:06 kesselb