Skip to content

Commit

Permalink
Merge pull request FRRouting#17010 from anlancs/fix/tools-pim-interfa…
Browse files Browse the repository at this point in the history
…ce-wrong-2

tools: fix some special commands for reloading pim
  • Loading branch information
ton31337 authored Oct 6, 2024
2 parents 15991e1 + e3a8467 commit 28a614d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/frr-reload.py
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,12 @@ def pim_delete_move_lines(lines_to_add, lines_to_del):
ctx_keys[0] in pim_disable
and ctx_keys[0].startswith("interface")
and line
and (line.startswith("ip pim ") or line.startswith("ip multicast "))
and (
line.startswith("ip pim ")
or line.startswith("no ip pim ")
or line.startswith("ip multicast ")
or line.startswith("no ip multicast ")
)
):
lines_to_del_to_del.append((ctx_keys, line))

Expand Down

0 comments on commit 28a614d

Please sign in to comment.