And don't setup mms route at all if mmsc/proxy host name is not in dotted IPv4 format. --- src/gprs.c | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-)
Sorry, somehow I missed the reply to this patch and just accidentally found it (the reply) at mail-archive.com.
This patch has to do the the case when no MessageProxy is provided for the MMS context. In that case ofono would set up host route for 255.255.255.255 (INADDR_NONE returned by inet_addr for the empty string) for the MMS interface when it comes up.
With these changes the whole thing has a chance to work if MessageCenter URL contains IP address in the host part. In any case, configuring host route for 255.255.255.255 doesn't make any sense.
Regards, -Slava _______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
