162,163c162,163
< EtherInt*
< EtherTapBase::getEthPort(const std::string &if_name, int idx)
---
> Port &
> EtherTapBase::getPort(const std::string &if_name, PortID idx)
165,170c165,167
< if (if_name == "tap") {
< if (interface->getPeer())
< panic("Interface already connected to\n");
< return interface;
< }
< return NULL;
---
> if (if_name == "tap")
> return *interface;
> return SimObject::getPort(if_name, idx);