summaryrefslogtreecommitdiff
path: root/src/dev/ethertap.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/ethertap.hh')
-rw-r--r--src/dev/ethertap.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dev/ethertap.hh b/src/dev/ethertap.hh
index be3d73a24..ac287cecb 100644
--- a/src/dev/ethertap.hh
+++ b/src/dev/ethertap.hh
@@ -90,8 +90,7 @@ class EtherTap : public EtherObject
EtherTap *tap;
public:
- TxEvent(EtherTap *_tap)
- : Event(&mainEventQueue), tap(_tap) {}
+ TxEvent(EtherTap *_tap) : tap(_tap) {}
void process() { tap->retransmit(); }
virtual const char *description() const
{ return "EtherTap retransmit"; }