diff options
author | Quentin Young <qlyoung@nvidia.com> | 2021-03-23 23:53:01 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@nvidia.com> | 2021-04-07 19:31:27 +0200 |
commit | 660c59ed6fb276336dbdd6958387342c79147930 (patch) | |
tree | ffb9f6d65e8d706602fcf16a3df949fcafbb8d9a /tests | |
parent | tests: fix improper format strings in pim lib (diff) | |
download | frr-660c59ed6fb276336dbdd6958387342c79147930.tar.xz frr-660c59ed6fb276336dbdd6958387342c79147930.zip |
tests: fix use of undefined variable in pim lib
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/topotests/lib/pim.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/topotests/lib/pim.py b/tests/topotests/lib/pim.py index 265449df2..61a5705a5 100644 --- a/tests/topotests/lib/pim.py +++ b/tests/topotests/lib/pim.py @@ -2377,8 +2377,7 @@ def verify_ip_pim_upstream_rpf(tgen, topo, dut, interface, group_addresses, rp=N if rp is None: rp_details = find_rp_details(tgen, topo) else: - rp_details = {dut: ip} - rp_details[dut] = rp + rp_details = {dut: rp} if dut in rp_details: pim_nh_intf_ip = topo["routers"][dut]["links"]["lo"]["ipv4"].split( |