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, 2 insertions, 1 deletions
diff --git a/src/dev/ethertap.hh b/src/dev/ethertap.hh
index 5c24be460..be3d73a24 100644
--- a/src/dev/ethertap.hh
+++ b/src/dev/ethertap.hh
@@ -93,7 +93,8 @@ class EtherTap : public EtherObject
TxEvent(EtherTap *_tap)
: Event(&mainEventQueue), tap(_tap) {}
void process() { tap->retransmit(); }
- virtual const char *description() { return "EtherTap retransmit"; }
+ virtual const char *description() const
+ { return "EtherTap retransmit"; }
};
friend class TxEvent;