mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-01 16:34:32 +02:00
Added addresses to mangle attributes and cleanup #75
This commit is contained in:
parent
2afb0c5ab3
commit
0104216d7e
2 changed files with 2 additions and 4 deletions
|
@ -792,8 +792,6 @@ class MikrotikControllerData:
|
||||||
{"name": "comment"},
|
{"name": "comment"},
|
||||||
{"name": "address-list"},
|
{"name": "address-list"},
|
||||||
{"name": "passthrough", "type": "bool", "default": False},
|
{"name": "passthrough", "type": "bool", "default": False},
|
||||||
{"name": "new-packet-mark"},
|
|
||||||
{"name": "src-address-list"},
|
|
||||||
{"name": "protocol", "default": "any"},
|
{"name": "protocol", "default": "any"},
|
||||||
{"name": "src-address", "default": "any"},
|
{"name": "src-address", "default": "any"},
|
||||||
{"name": "src-port", "default": "any"},
|
{"name": "src-port", "default": "any"},
|
||||||
|
|
|
@ -41,11 +41,11 @@ DEVICE_ATTRIBUTES_NAT = [
|
||||||
DEVICE_ATTRIBUTES_MANGLE = [
|
DEVICE_ATTRIBUTES_MANGLE = [
|
||||||
"chain",
|
"chain",
|
||||||
"action",
|
"action",
|
||||||
"address-list",
|
|
||||||
"passthrough",
|
"passthrough",
|
||||||
"new-packet-mark",
|
|
||||||
"protocol",
|
"protocol",
|
||||||
|
"src-address",
|
||||||
"src-port",
|
"src-port",
|
||||||
|
"dst-address",
|
||||||
"dst-port",
|
"dst-port",
|
||||||
"comment",
|
"comment",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue