summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_cli.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-06-08 11:33:32 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-06-08 11:36:48 -0400
commite0220703d1084b97164fe4d8260453f3eb8df38b (patch)
treeab0693e3f2672d1d0e3f1d560bb5634e4c00658f /tests/lib/cli/test_cli.py
parent71623b304e78f987b7d730e431f79324c787a2dd (diff)
pimd: pim_addr_cmp returns 0 for same not -1 or 1
The test for setting pimDesignatedRouterLocal was comparing the result of pim_addr_cmp to non zero to say that the pim_dr_addr and primary_address are the same. This is not correct in that pim_addr_cmp returns 0 for being the same, so the correct test is !pim_addr_cmp Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/lib/cli/test_cli.py')
0 files changed, 0 insertions, 0 deletions