Files
ports/net/cloud-init/files/extra-cloudinit_netinfo.py
T
Andrey Fesenko 4c62d8671a net/cloud-init: update to 25.2 release (+)
Install manpages
Pet portlint/stage-qa
Honor PREFIX and other flags for PYDITUTILS [1]

Release notes:	https://github.com/canonical/cloud-init/releases/tag/25.2
PR:		288037 [1]
2025-09-02 11:57:39 +03:00

12 lines
479 B
Python

--- cloudinit/netinfo.py.orig 2025-09-01 15:44:21 UTC
+++ cloudinit/netinfo.py
@@ -558,7 +558,7 @@ def route_info():
elif subp.which("netstat"):
# Fall back to net-tools if iproute2 is not present
(route_out, _err) = subp.subp(
- ["netstat", "--route", "--numeric", "--extend"], rcs=[0, 1]
+ ["netstat", "--route", "--numeric", "--extend"], rcs=[0, 1, 64]
)
routes = _netdev_route_info_netstat(route_out)
else: