mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-07 16:04:29 +02:00
Changed unique mangle name #75
This commit is contained in:
parent
68a47ffa3c
commit
4d83bbfbee
2 changed files with 15 additions and 3 deletions
|
@ -772,7 +772,9 @@ class MikrotikControllerData:
|
|||
{"name": "new-packet-mark"},
|
||||
{"name": "src-address-list"},
|
||||
{"name": "protocol", "default": "any"},
|
||||
{"name": "src-address", "default": "any"},
|
||||
{"name": "src-port", "default": "any"},
|
||||
{"name": "dst-address", "default": "any"},
|
||||
{"name": "dst-port", "default": "any"},
|
||||
{
|
||||
"name": "enabled",
|
||||
|
@ -785,7 +787,17 @@ class MikrotikControllerData:
|
|||
[
|
||||
{"name": "name"},
|
||||
{"action": "combine"},
|
||||
{"key": "chain"},
|
||||
{"text": ","},
|
||||
{"key": "action"},
|
||||
{"text": ","},
|
||||
{"key": "protocol"},
|
||||
{"text": ","},
|
||||
{"key": "src-address"},
|
||||
{"text": ":"},
|
||||
{"key": "src-port"},
|
||||
{"text": "-"},
|
||||
{"key": "dst-address"},
|
||||
{"text": ":"},
|
||||
{"key": "dst-port"},
|
||||
]
|
||||
|
@ -794,7 +806,7 @@ class MikrotikControllerData:
|
|||
{"name": "dynamic", "value": True},
|
||||
{"name": "action", "value": "jump"},
|
||||
{"name": "protocol", "value": ""},
|
||||
{"name": "dst-port", "value": ""},
|
||||
# {"name": "dst-port", "value": ""},
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue