From b43a9a9bd610c5ac091e739100efec2d9361da80 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Thu, 2 Jul 2020 16:41:08 +0200 Subject: [PATCH] WIP: typo --- topos/multi_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topos/multi_interface.py b/topos/multi_interface.py index f6812a8..bab39b9 100644 --- a/topos/multi_interface.py +++ b/topos/multi_interface.py @@ -141,7 +141,7 @@ class MultiInterfaceConfig(TopoConfig): def get_router_ip_to_server_switch(self, switch_index): return "{}{}.2".format(self.param.get(TopoParameter.RIGHT_SUBNET), switch_index) - def get_server_ip(self, interface_index): + def get_server_ip(self, interface_index=0): return "{}{}.1".format(self.param.get(TopoParameter.RIGHT_SUBNET), interface_index) def get_server_subnet(self, interface_index):