diff options
Diffstat (limited to 'src/dev/net/etherswitch.cc')
-rw-r--r-- | src/dev/net/etherswitch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/net/etherswitch.cc b/src/dev/net/etherswitch.cc index 0e1d6f3ac..c03b59435 100644 --- a/src/dev/net/etherswitch.cc +++ b/src/dev/net/etherswitch.cc @@ -43,7 +43,7 @@ using namespace std; EtherSwitch::EtherSwitch(const Params *p) - : EtherObject(p), ttl(p->time_to_live) + : SimObject(p), ttl(p->time_to_live) { for (int i = 0; i < p->port_interface_connection_count; ++i) { std::string interfaceName = csprintf("%s.interface%d", name(), i); |