diff --git a/salt/switches/HP-procurve-2824.expect b/salt/switches/HP-procurve-2824.expect index 68c5850..976a63d 100644 --- a/salt/switches/HP-procurve-2824.expect +++ b/salt/switches/HP-procurve-2824.expect @@ -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 %}