This bug was fixed in the package iproute2 - 4.18.0-1ubuntu2 --------------- iproute2 (4.18.0-1ubuntu2) cosmic; urgency=low
* d/p/1006-ubuntu-iprule-fix-output.patch Fix destination prefix output of "ip rule show" (LP: #1789431). -- Stefan Bader <stefan.ba...@canonical.com> Tue, 28 Aug 2018 16:38:47 +0200 ** Changed in: iproute2 (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to iproute2 in Ubuntu. https://bugs.launchpad.net/bugs/1789431 Title: ip rule show has unexpected space in destination prefix Status in iproute2 package in Ubuntu: Fix Released Bug description: 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1789431/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp