diff options
author | 2016-02-24 06:28:10 -0500 | |
---|---|---|
committer | 2016-02-24 06:29:06 -0500 | |
commit | 252b8ab3f41a18af8561cece71cf07bc9872f39f (patch) | |
tree | 60ca5bedb147d54198ca806b5ce6dfe37d5f0f41 /src/sim | |
parent | 146525ddd44618bc5664cd632a86ff14be1c3ba9 (diff) |
virtual NICs does not add 4 bytes of CRC
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/trex_sim.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sim/trex_sim.h b/src/sim/trex_sim.h index 21498978..48e038db 100644 --- a/src/sim/trex_sim.h +++ b/src/sim/trex_sim.h @@ -54,9 +54,13 @@ public: virtual void get_global_stats(TrexPlatformGlobalStats &stats) const { } - virtual void get_interface_info(uint8_t interface_id, std::string &driver_name, driver_speed_e &speed) const { + virtual void get_interface_info(uint8_t interface_id, + std::string &driver_name, + driver_speed_e &speed, + bool &has_crc) const { driver_name = "TEST"; speed = TrexPlatformApi::SPEED_10G; + has_crc = true; } virtual void get_interface_stats(uint8_t interface_id, TrexPlatformInterfaceStats &stats) const { |