fix switches
This commit is contained in:
parent
89be4dae61
commit
1100432b95
|
@ -77,7 +77,7 @@ expect "(config)# "
|
|||
|
||||
{%- endif %}
|
||||
|
||||
{%- if conf['nostp'] %}
|
||||
{%- if conf.get('nostp') %}
|
||||
send "spanning-tree {{ conf['ports'] }} bpdu-filter\r"
|
||||
expect "(config)# "
|
||||
{%- endif %}
|
||||
|
|
Loading…
Reference in New Issue