瀏覽代碼

Set interface=interface instead of interface=None

tags/v0.2.0
Ben McClure 9 年之前
父節點
當前提交
dec6049310
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      _states/ufw.py

+ 1
- 1
_states/ufw.py 查看文件

@@ -81,7 +81,7 @@ def enabled(name, **kwargs):
def allowed(name, app=None, interface=None, protocol=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)

if __opts__['test']:

Loading…
取消
儲存