Skip to content

Commit

Permalink
feat(coordinator.py): add 'comment' to get magle
Browse files Browse the repository at this point in the history
  • Loading branch information
kittizz committed Dec 2, 2024
1 parent abef017 commit c66492f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/mikrotik_router/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,7 @@ def get_mangle(self) -> None:
{"name": "dst-port", "default": "any"},
{"name": "src-address-list", "default": "any"},
{"name": "dst-address-list", "default": "any"},
{"name": "commnet", "default": "none"},
{
"name": "enabled",
"source": "disabled",
Expand Down Expand Up @@ -1094,6 +1095,8 @@ def get_mangle(self) -> None:
{"key": "src-address-list"},
{"text": "-"},
{"key": "dst-address-list"},
{"text": ","},
{"key": "comment"},
],
[
{"name": "name"},
Expand Down

0 comments on commit c66492f

Please sign in to comment.