serverinfo
serverinfo copied to clipboard
Improve gateway information parsing
- Fix FreeBSD-specific parsing that missed any digits of the last IP octet more than a single digit.
- Support IPv6 addresses as the default gateway
- Parse multiple default gateways in a dual-stack IPv4/IPv6 system
- Switch DefaultOs.php to use
preg_match_all()instead of a shell pipeline for parsing.
I already did something similar (but not reviewed yet): https://github.com/nextcloud/serverinfo/pull/271
The other PR was merged. Can you rebase and check if you have other things to fix in your PR?
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.