Public bug reported:
Introduced by upstream iproute2 v4.17.0:
0dd4ccc5 "iprule: add json support"
This commit changes the output of "ip rule show" to support json output
but also accidentally inserts a space character between ipv4 address and
"/<length>". This breaks for example the route_with_policy test of
netplan.io.
Testcase:
ip rule add from 10.1.0.0/24 to 10.2.0.0/24 lookup 99
ip rule show
Expected: *: from 10.1.0.0/24 to 10.2.0.0/24 lookup 99
Actual output: *: from 0.1.0.0/24 to 10.2.0.0 /24 lookup 99
** Affects: iproute2 (Ubuntu)
Importance: High
Assignee: Stefan Bader (smb)
Status: Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789431
Title:
ip rule show has unexpected space in destination prefix
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1789431/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs