summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-15 19:30:55 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-20 21:28:53 +0200
commit95b88584fd9239d3143adc6b7935544df208ac88 (patch)
tree42afbfee9b3c892974f912218260aacd3ff46a9c /src/conf_mode
parent63a9d416092e24da02f7d180f4feb6a98bfe85f6 (diff)
downloadvyos-1x-95b88584fd9239d3143adc6b7935544df208ac88.tar.gz
vyos-1x-95b88584fd9239d3143adc6b7935544df208ac88.zip
ethernet: T1637: do not overwrite interface description with interface name
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interface-ethernet.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/conf_mode/interface-ethernet.py b/src/conf_mode/interface-ethernet.py
index 72eaee905..8a72068c5 100755
--- a/src/conf_mode/interface-ethernet.py
+++ b/src/conf_mode/interface-ethernet.py
@@ -125,8 +125,6 @@ def get_config():
# retrieve interface description
if conf.exists('description'):
eth['description'] = conf.return_value('description')
- else:
- eth['description'] = eth['intf']
# get DHCP client identifier
if conf.exists('dhcp-options client-id'):