Pārlūkot izejas kodu

Set interface=interface instead of interface=None

tags/v0.2.0
Ben McClure pirms 9 gadiem
vecāks
revīzija
dec6049310
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      _states/ufw.py

+ 1
- 1
_states/ufw.py Parādīt failu

@@ -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']:

Notiek ielāde…
Atcelt
Saglabāt