summaryrefslogtreecommitdiff
path: root/src/dev/net/ns_gige.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/net/ns_gige.hh')
-rw-r--r--src/dev/net/ns_gige.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/net/ns_gige.hh b/src/dev/net/ns_gige.hh
index f9be02890..5745c3040 100644
--- a/src/dev/net/ns_gige.hh
+++ b/src/dev/net/ns_gige.hh
@@ -341,7 +341,8 @@ class NSGigE : public EtherDevBase
NSGigE(Params *params);
~NSGigE();
- EtherInt *getEthPort(const std::string &if_name, int idx) override;
+ Port &getPort(const std::string &if_name,
+ PortID idx=InvalidPortID) override;
Tick writeConfig(PacketPtr pkt) override;