{% comment %} {% load url from future %} {% endcomment %} {% for table in tables %} {% if forloop.first %}{% else %} {% endif %} {% for chain in table.chains.all %} {% if forloop.first %}{% else %} {% endif %} {% for rule in chain.ordered_rules.all %} {% with rule.target as target %} {% endwith %} {% endfor %} {% with chain.policy as target %} {% endwith %} {% endfor %} {% endfor %}
 

{{ table.name }}

 

{% if not chain.is_default %} {{ chain.name }} {% else %} DEFAULT {% endif %}

       
Active Matching options Stop/Pass Target Options

{{ rule.position }}

{% for match in rule.matches.all %} {% for o in match.match_options.all %} {% if o.value %} {% endif %} {% endfor %} {% endfor %}
{{ match.handler_name }}
{{o.name}} {{o.value}}
{% if rule.is_jump_rule %}

{{ target.handler_name.upper }}

{% else %}

{{ target.handler_name.upper }}

{% endif %}
{% for o in target.target_options.all %} {% endfor %}
{{o.name}} {{o.value}}
-

{{ target.handler_name.upper }}

{% for o in target.target_options.all %} {% endfor %}
{{o.name}} {{o.value}}