Browse Source

Set interface=interface instead of interface=None

tags/v0.2.0
Ben McClure 9 years ago
parent
commit
dec6049310
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      _states/ufw.py

+ 1
- 1
_states/ufw.py View File

def allowed(name, app=None, interface=None, protocol=None, def allowed(name, app=None, interface=None, protocol=None,
from_addr=None, from_port=None, to_addr=None, to_port=None): from_addr=None, from_port=None, to_addr=None, to_port=None):


rule = _as_rule("allow", app=app, interface=None, protocol=protocol,
rule = _as_rule("allow", app=app, interface=interface, protocol=protocol,
from_addr=from_addr, from_port=from_port, to_addr=to_addr, to_port=to_port) from_addr=from_addr, from_port=from_port, to_addr=to_addr, to_port=to_port)


if __opts__['test']: if __opts__['test']:

Loading…
Cancel
Save