summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-31 13:18:15 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-31 13:18:15 +0200
commitc306c248ff2ebdbd2f669e8c052a6ecd85a50fad (patch)
treef856ef72318e5d0fddc65fe14cc059eda668f4ab /src/conf_mode
parentaa5054e524a4996ba9cc11deec25fdf4279b29cf (diff)
downloadvyos-1x-c306c248ff2ebdbd2f669e8c052a6ecd85a50fad.tar.gz
vyos-1x-c306c248ff2ebdbd2f669e8c052a6ecd85a50fad.zip
loopback: T1601: support deleting interface description
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interface-loopback.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/conf_mode/interface-loopback.py b/src/conf_mode/interface-loopback.py
index 1dd68c039..be47324c1 100755
--- a/src/conf_mode/interface-loopback.py
+++ b/src/conf_mode/interface-loopback.py
@@ -57,8 +57,6 @@ def get_config():
# retrieve interface description
if conf.exists('description'):
loopback['description'] = conf.return_value('description')
- else:
- loopback['description'] = loopback['intf']
# Determine interface addresses (currently effective) - to determine which
# address is no longer valid and needs to be removed from the interface