mirror of
https://github.com/sailfishos/ofono
synced 2025-12-03 08:01:05 +08:00
[sms] Don't drop SMS datagrams with unknown ports. Fixes MER#1137
This commit is contained in:
@@ -1369,8 +1369,7 @@ static void sms_dispatch(struct ofono_sms *sms, GSList *sms_list)
|
||||
|
||||
if (srcport == -1 || dstport == -1) {
|
||||
ofono_error("Got an 8-bit encoded message, however "
|
||||
"no valid src/address port, ignore");
|
||||
return;
|
||||
"no valid src/address port");
|
||||
}
|
||||
|
||||
buf = sms_decode_datagram(sms_list, &len);
|
||||
|
||||
Reference in New Issue
Block a user