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
a226239439
commit
714b1807b6
@ -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