From ede5c3ea7f10dd85b6a84dc9fd96687f9fa46d2d Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Mon, 29 Jun 2020 14:25:39 +0200 Subject: [PATCH] small fix --- core/topo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/topo.py b/core/topo.py index 43a2e51..12a0b81 100644 --- a/core/topo.py +++ b/core/topo.py @@ -451,7 +451,7 @@ class TopoConfig(object): """ Disable TSO on all interfaces """ - for node in self.topo.topo_builder.net: + for node in [self.get_host(n) for n in self.topo.topo_builder.net]: for intf in self.topo.get_interface_names(node): logging.info("Disable TSO on interface {}".format(intf)) cmd = "ethtool -K {} tso off".format(intf)