diff options
-rw-r--r-- | ncserver/module/nms_ifupdownng.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ncserver/module/nms_ifupdownng.py b/ncserver/module/nms_ifupdownng.py index a05d7cc..9d1d19b 100644 --- a/ncserver/module/nms_ifupdownng.py +++ b/ncserver/module/nms_ifupdownng.py @@ -160,7 +160,7 @@ def get_param(iface: str, parameter: str): if iface not in _CONFIG.keys(): LOGGER.warning( - _("requested parameter %s for non-existant interface %s"), + _("requested parameter %s for non-existent interface %s"), parameter, iface ) return None @@ -175,7 +175,7 @@ def set_param(iface: str, parameter: str, value): if iface not in _CONFIG.keys(): LOGGER.warning( - _("attempted to set parameter %s for non-existant interface %s"), + _("attempted to set parameter %s for non-existent interface %s"), parameter, iface ) return @@ -190,7 +190,7 @@ def unset_param(iface: str, parameter: str): if iface not in _CONFIG.keys(): LOGGER.warning( - _("attempted to unset parameter %s for non-existant interface %s"), + _("attempted to unset parameter %s for non-existent interface %s"), parameter, iface ) return @@ -204,7 +204,7 @@ def list_addresses(iface: str) -> list: _load_config() if iface not in _CONFIG.keys(): - LOGGER.warning(_("requested addresses for non-existant interface %s"), + LOGGER.warning(_("requested addresses for non-existent interface %s"), iface) return list() @@ -231,7 +231,7 @@ def add_address(iface: str, _type, addr: str, prefix): if iface not in _CONFIG.keys(): LOGGER.warning( - _("attempted to add address to non-existant interface %s"), iface + _("attempted to add address to non-existent interface %s"), iface ) return @@ -249,7 +249,7 @@ def remove_address(iface: str, addr: str): if iface not in _CONFIG.keys(): LOGGER.warning( - _("attempted to remove address from non-existant interface %s"), + _("attempted to remove address from non-existent interface %s"), iface ) return |