diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-08-10 10:32:17 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-08-10 10:32:17 -0400 |
| commit | ddba0a04a99f3c9450bec6c20032aa5ddc73bee6 (patch) | |
| tree | 95544851ecd26e05e058a9be7cb4f144a59f7d6f /tests/lib/cli/test_commands.c | |
| parent | 84a98cedfb3efac93aef1058730bf1e6ca585fcc (diff) | |
pimd: Allow multiple secondary addresses to work
Suppose you have more than 2 addresses on a pim interface:
lo up default 10.255.0.1/32
10.255.0.101/32
10.255.0.254/32
A `show ip pim int lo` gives us this:
eva# show ip pim interface lo
Interface : lo
State : up
Address : 10.255.0.1 (primary)
10.255.0.101/32
When we go look at the code that pulls secondary addresses in
we are using a prefix_cmp to know if we know about a secondary already
but were expecting true values instead of -1/0/1 being returned.
Modify code so that pim sees all secondary addresses
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/cli/test_commands.c')
0 files changed, 0 insertions, 0 deletions
