Changeset 8fbef04 for fedd/deter


Ignore:
Timestamp:
Mar 10, 2014 5:25:42 PM (11 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
d75005b
Parents:
a2ca699
Message:

Shared NAT integrated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/deter/topdl.py

    ra2ca699 r8fbef04  
    998998    return t
    999999
    1000 def generate_portal_command_filter(cmd, add_filter=None):
     1000def generate_portal_command_filter(cmd, add_filter=None, suffix=''):
    10011001    def rv(e):
    10021002        s =""
     
    10081008                add = True
    10091009            if gw and add:
    1010                 s = "%s ${%s}\n" % (cmd, to_tcl_name(e.name))
     1010                s = "%s ${%s} %s\n" % (cmd, to_tcl_name(e.name), suffix)
    10111011        return s
    10121012    return rv
Note: See TracChangeset for help on using the changeset viewer.