Skip to content

Commit 5624d15

Browse files
authored
Fix dependency of dhcp-mon on VLAN with only v6 (#13006)
Signed-off-by: Vivek Reddy Karri <[email protected]> Signed-off-by: Vivek Reddy Karri <[email protected]>
1 parent 8a8d83b commit 5624d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockers/docker-dhcp-relay/dhcp-relay.monitors.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dhcpmon-{{ vlan_name }}
3232
{% endif %}
3333
{# Check DHCPv6 agents #}
3434
{% if DHCP_RELAY and vlan_name in DHCP_RELAY and DHCP_RELAY[vlan_name]['dhcpv6_servers']|length > 0 %}
35-
{% for dhcpv6_server in VLAN[vlan_name]['dhcpv6_servers'] %}
35+
{% for dhcpv6_server in DHCP_RELAY[vlan_name]['dhcpv6_servers'] %}
3636
{% if dhcpv6_server | ipv6 %}
3737
{% set _dummy = relay_for_ipv6.update({'flag': True}) %}
3838
{% endif %}

0 commit comments

Comments
 (0)