Skip to content

Commit

Permalink
[202012] [dhcpv6_relay] Fix dependency of dhcp-mon on VLAN with only …
Browse files Browse the repository at this point in the history
…v6 cfg is provided (#13006) (#13040)

Backport PR #13006

Signed-off-by: Vivek Reddy Karri <[email protected]>
  • Loading branch information
vivekrnv authored Jan 2, 2023
1 parent 26709ff commit 3fc76fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockers/docker-dhcp-relay/dhcp-relay.monitors.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dhcpmon-{{ vlan_name }}
{% endif %}
{# Check DHCPv6 agents #}
{% if DHCP_RELAY and vlan_name in DHCP_RELAY and DHCP_RELAY[vlan_name]['dhcpv6_servers']|length > 0 %}
{% for dhcpv6_server in VLAN[vlan_name]['dhcpv6_servers'] %}
{% for dhcpv6_server in DHCP_RELAY[vlan_name]['dhcpv6_servers'] %}
{% if dhcpv6_server | ipv6 %}
{% set _dummy = relay_for_ipv6.update({'flag': True}) %}
{% endif %}
Expand Down

0 comments on commit 3fc76fd

Please sign in to comment.