summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-loopback.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/interface-loopback.py')
-rwxr-xr-xsrc/conf_mode/interface-loopback.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conf_mode/interface-loopback.py b/src/conf_mode/interface-loopback.py
index aba682f31..46fc6809b 100755
--- a/src/conf_mode/interface-loopback.py
+++ b/src/conf_mode/interface-loopback.py
@@ -75,8 +75,7 @@ def apply(loopback):
lo = LoopbackIf(loopback['intf'])
if not loopback['deleted']:
# update interface description used e.g. within SNMP
- # update interface description used e.g. within SNMP
- lo.ifalias = loopback['description']
+ lo.set_alias(loopback['description'])
# Configure interface address(es)
# - not longer required addresses get removed first