Fix radv.conf traceback when VLAN_INTERFACE is not defined (#12034)
*Fix the if block scope to prevent traceback due to undefined vlan_list when VLAN_INTERFACE is not defined.
This commit is contained in:
parent
a98b34af29
commit
ab0edff4cb
@ -23,7 +23,6 @@
|
||||
{% set _ = vlan_list.update({name: prefix_list}) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for name, prefixes in vlan_list.items() %}
|
||||
interface {{ name }}
|
||||
{
|
||||
@ -47,3 +46,4 @@ interface {{ name }}
|
||||
};
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user