Added addresses to mangle attributes and cleanup #75

This commit is contained in:
tomaae 2020-12-25 10:21:28 +01:00
parent 2afb0c5ab3
commit 0104216d7e
2 changed files with 2 additions and 4 deletions

View file

@ -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"},

View file

@ -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",
] ]