Commit 38f4c92a authored by Hejing Li's avatar Hejing Li
Browse files

eth.py: fix type

parent 565da1fb
......@@ -53,7 +53,7 @@ class BaseEthNetComponent(base.Component):
def if_add(self, i: EthInterface) -> None:
self.eth_ifs.append(i)
def interfaces(self) -> list[Interface]:
def interfaces(self) -> list[EthInterface]:
return self.eth_ifs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment