1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

addons: ethtool: skip ethtool if current ifaceobj is loopback interface

Ticket: CM-13737
Reviewed By: Roopa, Nikhil G
Testing Done:

tested on VX and hardnodes
This commit is contained in:
Julien Fortin
2016-11-28 17:42:29 +01:00
parent 32e2363a69
commit af8734d18a

View File

@@ -356,7 +356,8 @@ class ethtool(moduleBase,utilsBase):
if not op_handler:
return
self._init_command_handlers()
if self.ipcmd.link_isloopback(ifaceobj.name):
return
if operation == 'query-checkcurr':
op_handler(self, ifaceobj, query_ifaceobj)
else: