Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
canoziia committed Jan 12, 2025
1 parent 29bb54c commit fd64dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ def get_bgp_neighbor_cmd(
{f"set protocols bgp neighbor {neighbor_address} ebgp-multihop {multihop}" if multihop else ""}
set protocols bgp neighbor {neighbor_address} solo
set protocols bgp neighbor {neighbor_address} update-source {neighbor["update-source"]}
{f"set protocols bgp neighbor {neighbor_address} interface source-interface {neighbor["update-source"]}" if not isIP(neighbor["update-source"]) else ""}
{f"set protocols bgp neighbor {neighbor_address} interface source-interface {neighbor['update-source']}" if not isIP(neighbor["update-source"]) else ""}
{f"set protocols bgp neighbor {neighbor_address} timers holdtime {neighbor['holdtime']}" if "holdtime" in neighbor else ""}
{f"set protocols bgp neighbor {neighbor_address} timers keepalive {neighbor['keepalive']}" if "keepalive" in neighbor else ""}
{f"set protocols bgp neighbor {neighbor_address} address-family ipv{ipversion}-unicast addpath-tx-all" if "addpath" in neighbor and neighbor["addpath"] else ""}
Expand Down

0 comments on commit fd64dcb

Please sign in to comment.