smsutil: Do not check the origin port

Do not check if the origin port is reserved, as some operators use that
range of values.
This commit is contained in:
Alfonso Sanchez-Beato 2015-09-07 11:58:16 +02:00 committed by Denis Kenzior
parent 665c053803
commit ac14de37ca
1 changed files with 0 additions and 3 deletions

View File

@ -1946,9 +1946,6 @@ static gboolean extract_app_port_common(struct sms_udh_iter *iter, int *dst,
if (((addr_hdr[0] << 8) | addr_hdr[1]) > 49151)
break;
if (((addr_hdr[2] << 8) | addr_hdr[3]) > 49151)
break;
dstport = (addr_hdr[0] << 8) | addr_hdr[1];
srcport = (addr_hdr[2] << 8) | addr_hdr[3];
is_addr_8bit = FALSE;