NetworkManager/src/devices/wwan
Aleksander Morgado b7cc6fb64e wwan: don't assume DNS info is always available
Fixes segfault with e.g. Ericsson modems that reply just with IP+gateway,
without DNS info.

 [mm-port-serial-at.c:440] debug_log(): (ttyACM8): --> 'AT*E2IPCFG?<CR>'
 [mm-port-serial-at.c:440] debug_log(): (ttyACM8): <-- '<CR><LF>*E2IPCFG: (1,"10.191.64.12")(2,"10.191.64.10")<CR><LF>'
 [mm-port-serial-at.c:440] debug_log(): (ttyACM8): <-- '<CR><LF>OK<CR><LF>'
 [mm-port-serial.c:1296] mm_port_serial_close(): (ttyACM8) device open count is 1 (close)
 [mm-port.c:95] mm_port_set_connected(): (wwan0): port now connected
 [mm-base-bearer.c:488] connect_ready(): Connected bearer '/org/freedesktop/ModemManager1/Bearer/0'
 [mm-iface-modem.c:1392] __iface_modem_update_state_internal(): Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> connected)

 <info> Activation (ttyACM8) Stage 3 of 5 (IP Configure Start) started...
 <info> (ttyACM8): device state change: config -> ip-config (reason 'none') [50 70 0]
 <info> Activation (ttyACM8) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
 <info> Activation (ttyACM8) Stage 3 of 5 (IP Configure Start) complete.
 <info> (ttyACM8): IPv4 static configuration:
 <info>   address 10.191.64.12/28
 <info>   gateway 10.191.64.10
Errore di segmentazione

http://lists.freedesktop.org/archives/modemmanager-devel/2015-February/001758.html
(cherry picked from commit 5df024f57a)
2015-02-17 12:06:53 -06:00
..
exports.ver core: move device factory type function into factory object 2014-09-11 12:47:23 -05:00
Makefile.am libnm: add NetworkManager.h, disallow including individual headers 2014-08-01 14:34:40 -04:00
nm-device-modem.c wwan: recheck available connections when modem becomes unlocked (bgo #740966) 2015-02-05 11:11:18 +01:00
nm-device-modem.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-modem-broadband.c wwan: don't assume DNS info is always available 2015-02-17 12:06:53 -06:00
nm-modem-broadband.h all: remove a bunch of unnecessary dbus/dbus-glib includes 2014-09-03 10:45:24 -04:00
nm-modem-manager.c wwan: trivial: simplify variable names to not explicitly clarify MM 1.0 2014-06-26 12:53:33 -04:00
nm-modem-manager.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-modem.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-modem.h devices: drop device-type-specific error domains 2014-10-22 08:29:08 -04:00
nm-wwan-factory.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-wwan-factory.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
wwan-exports.ver wwan: fix wwan-exports.ver 2014-10-22 10:16:31 -04:00