crosscheck NAT .id in case of mikrotik reboot

This commit is contained in:
tomaae 2019-12-07 21:18:27 +01:00
parent ce98668f1e
commit 8f8817a1f7
3 changed files with 20 additions and 3 deletions

View file

@ -34,6 +34,10 @@ DEVICE_ATTRIBUTES = [
"default-name",
]
# ---------------------------
# format_attribute
# ---------------------------
def format_attribute(attr):
res = attr.replace("-", " ")
res = res.capitalize()