Skip to content

Commit 1779a44

Browse files
faultywarriorfaulty
andauthored
Fix incorrect check of DFSI and FSC operating modes that resulted in a segfault (#92)
Co-authored-by: faulty <[email protected]>
1 parent a3fa75d commit 1779a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/host/Host.Config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ bool Host::createModem()
750750
m_modem->setResponseHandler(MODEM_RESP_HANDLER_BIND(Host::rmtPortModemHandler, this));
751751
}
752752

753-
if (useFSCForUDP) {
753+
if (m_isModemDFSI && useFSCForUDP) {
754754
modem::port::specialized::V24UDPPort* udpPort = dynamic_cast<modem::port::specialized::V24UDPPort*>(m_udpDFSIRemotePort);
755755
udpPort->openFSC();
756756
}

0 commit comments

Comments
 (0)