summaryrefslogtreecommitdiff
path: root/src/dev/net/etherswitch.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/net/etherswitch.hh')
-rw-r--r--src/dev/net/etherswitch.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/net/etherswitch.hh b/src/dev/net/etherswitch.hh
index 0887d94e5..36a0c686a 100644
--- a/src/dev/net/etherswitch.hh
+++ b/src/dev/net/etherswitch.hh
@@ -47,8 +47,9 @@
#include "dev/net/pktfifo.hh"
#include "params/EtherSwitch.hh"
#include "sim/eventq.hh"
+#include "sim/sim_object.hh"
-class EtherSwitch : public EtherObject
+class EtherSwitch : public SimObject, public EtherObject
{
public:
typedef EtherSwitchParams Params;