91,92c91,92
< EtherInt*
< EtherLink::getEthPort(const std::string &if_name, int idx)
---
> Port &
> EtherLink::getPort(const std::string &if_name, PortID idx)
94d93
< Interface *i;
96c95
< i = interface[0];
---
> return *interface[0];
98,104c97,98
< i = interface[1];
< else
< return NULL;
< if (i->getPeer())
< panic("interface already connected to\n");
<
< return i;
---
> return *interface[1];
> return SimObject::getPort(if_name, idx);