]> git.proxmox.com Git - mirror_iproute2.git/commit
ip nexthop: Add space to display properly when showing a group
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 10 Aug 2019 00:18:42 +0000 (20:18 -0400)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 15 Aug 2019 20:21:15 +0000 (13:21 -0700)
commitdba639a598369bdbbd0bd40f0cd127375f0b615a
tree7ed4970227c35102038a57171bba59867f89e214
parent260dc56ae3efbac6aa80e946d18eb0c66b95c5a4
ip nexthop: Add space to display properly when showing a group

When displaying a nexthop group made up of other nexthops, the display
line shows this when you have additional data at the end:

id 42 group 43/44/45/46/47/48/49/50/51/52/53/54/55/56/57/58/59/60/61/62/63/64/65/66/67/68/69/70/71/72/73/74proto zebra

Modify code so that it shows:

id 42 group 43/44/45/46/47/48/49/50/51/52/53/54/55/56/57/58/59/60/61/62/63/64/65/66/67/68/69/70/71/72/73/74 proto zebra

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipnexthop.c