summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-08-08 15:01:17 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-08-08 15:01:17 +0300
commit44b5db3778bb42aacef52675c485078fa914cd71 (patch)
treee573acad454d7adf5feb677473c4581611f5ffc7 /src/bp_sim.h
parent2d51b632b8b22b6e5be9ed1cbc110bfd4308c2e6 (diff)
change default to not run rte_eth_dev_stop/close
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h
index b32534e5..bfdd90f6 100755
--- a/src/bp_sim.h
+++ b/src/bp_sim.h
@@ -711,11 +711,11 @@ public:
return (btGetMaskBit32(m_flags1, 8, 8) ? true : false);
}
- void setNoCloseEnable(bool enable) {
+ void setCloseEnable(bool enable) {
btSetMaskBit32(m_flags1, 9, 9, (enable ? 1 : 0) );
}
- bool getNoCloseEnable(){
+ bool getCloseEnable(){
return (btGetMaskBit32(m_flags1, 9, 9) ? true : false);
}