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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user