diff --git a/network/RemoteControl.cpp b/network/RemoteControl.cpp
index 7e447889..48875ad0 100644
--- a/network/RemoteControl.cpp
+++ b/network/RemoteControl.cpp
@@ -483,6 +483,8 @@ void RemoteControl::process(Host* host, dmr::Control* dmr, p25::Control* p25, nx
LogMessage(LOG_RCON, "Remote P25, mfgId reset, mfgId = $%02X", mfId);
m_p25MFId = p25::P25_MFG_STANDARD;
}
+
+ p25->trunk()->setLastMFId(m_p25MFId);
}
else {
reply = CMD_FAILED_STR "P25 mode is not enabled!";
diff --git a/p25/packet/Trunk.h b/p25/packet/Trunk.h
index 46213907..d939bbda 100644
--- a/p25/packet/Trunk.h
+++ b/p25/packet/Trunk.h
@@ -93,6 +93,9 @@ namespace p25
/// Helper to change the conventional fallback state.
void setConvFallback(bool fallback);
+ /// Helper to change the last MFId value.
+ void setLastMFId(uint8_t mfId) { m_lastMFID = mfId; }
+
/// Flag indicating whether P25 TSBK verbosity is enabled or not.
bool getTSBKVerbose() const { return m_dumpTSBK; };
/// Helper to change the TSBK verbose state.