]> git.puffer.fish Git - mirror/frr.git/commit
tests: Set mask to a default value for addKernelRoute 9583/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 8 Sep 2021 11:51:23 +0000 (07:51 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 8 Sep 2021 11:53:04 +0000 (07:53 -0400)
commitb041a1274968ea6b1cff0d9e38d37c164e16c468
tree637015197f81ea8818fa1dc1b8cedab768b4eae0
parent51eb2eef3c0827e13aa2acf9e5a157907e4449a7
tests: Set mask to a default value for addKernelRoute

When looking for a implied host route it is not necessary
to add the `/32` to an ip route add.  As such masks
will not be set in this case.  Set the value of masks
to a known good value so that when the route installation
fails the test for it actually being there will tell you
that the route is not there -vs- complaining about mask
being uninited.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/lib/common_config.py