summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h
index 4e301b2d..bfccc817 100755
--- a/src/bp_sim.h
+++ b/src/bp_sim.h
@@ -629,6 +629,9 @@ public:
void set_mac_ip_overide_enable(bool enable){
btSetMaskBit32(m_flags,30,30,enable?1:0);
+ if (enable) {
+ set_slowpath_features_on(enable);
+ }
}
bool get_is_rx_check_enable(){
@@ -653,6 +656,9 @@ public:
void set_client_cfg_enable(bool enable){
btSetMaskBit32(m_flags1, 1, 1, enable ? 1 : 0);
+ if (enable) {
+ set_slowpath_features_on(enable);
+ }
}