summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-ethernet.py
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-05-03 13:28:11 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-05-04 20:58:06 +0200
commitc1ad2a6461fc2e767d69567be9647150c3310569 (patch)
tree52103aab1a34198fcf990d2a1c8c3ce4858384e0 /src/conf_mode/interfaces-ethernet.py
parent9bfbb24ae649d7cedc2002f7df95a0aa0fececdc (diff)
downloadvyos-1x-c1ad2a6461fc2e767d69567be9647150c3310569.tar.gz
vyos-1x-c1ad2a6461fc2e767d69567be9647150c3310569.zip
configdict: T2241: get interface name in intf/vlan_from_dict
This is needed as later functions depend on it
Diffstat (limited to 'src/conf_mode/interfaces-ethernet.py')
-rwxr-xr-xsrc/conf_mode/interfaces-ethernet.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-ethernet.py b/src/conf_mode/interfaces-ethernet.py
index 3ddd394d7..c7f935ca6 100755
--- a/src/conf_mode/interfaces-ethernet.py
+++ b/src/conf_mode/interfaces-ethernet.py
@@ -92,7 +92,6 @@ def get_config():
conf.set_level(cfg_base)
eth, disabled = intf_to_dict(conf, default_config_data)
- eth['intf'] = ifname
# disable ethernet flow control (pause frames)
if conf.exists('disable-flow-control'):