Changeset 13886 in genesis


Ignore:
Timestamp:
May 27, 2017, 2:43:31 PM (8 years ago)
Author:
rick
Message:

Typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r13884 r13886  
    11901190# INFO: {{ global_rdr_rules|count }} global_rdr_rules active on this node.
    11911191{% for protocol, src_port,dest_ip,dest_port,comment in global_rdr_rules -%}
    1192 rdr on $ext_if inet proto {{ protocol }} from any to $ext_if port {{ src_port }} tag SRV -> {{ "-%14s"|format(dest_ip) }} port {{ "%4s"|format(dest_port) }} # {{ comment }}
     1192rdr on $ext_if inet proto {{ protocol }} from any to $ext_if port {{ src_port }} tag SRV -> {{ "%-14s"|format(dest_ip) }} port {{ "%4s"|format(dest_port) }} # {{ comment }}
    11931193{% endfor -%}
    11941194# INFO: {{ rdr_rules|count }} node specific rdr_rules defined.
    11951195{% for protocol, src_port,dest_ip,dest_port,comment in rdr_rules -%}
    1196 rdr on $ext_if inet proto {{ protocol }} from any to $ext_if port {{ src_port }} tag SRV -> {{ dest_ip }} port {{ dest_port }} # {{ comment }}
     1196rdr on $ext_if inet proto {{ protocol }} from any to $ext_if port {{ src_port }} tag SRV -> {{ "%-14s"|format(dest_ip) }} port {{ "%4s"|format(dest_port) }} # {{ comment }}
    11971197{% endfor -%}
    11981198""").render(datadump)
Note: See TracChangeset for help on using the changeset viewer.