diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-06-08 11:33:32 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-06-08 11:36:48 -0400 |
| commit | e0220703d1084b97164fe4d8260453f3eb8df38b (patch) | |
| tree | ab0693e3f2672d1d0e3f1d560bb5634e4c00658f /lib/command_py.c | |
| parent | 71623b304e78f987b7d730e431f79324c787a2dd (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 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
