擅长:python、mysql、java
<pre><code> {% ifequal firewall.to_port 22 %} <td>Ssh Service</td>{% endifequal %}
{% ifequal firewall.to_port 80 %} <td>Web Service</td>{% endifequal %}
{% if firewall.to_port !=22 and if firewall.to_port !=80 %} <td>Unknown Service</td>{% endif %}
</code></pre>
<p>每一个<code>ifequal</code>你都需要用<code>endifequal</code>来关闭它,你错过了一个</p>