• Beniamino Galvani's avatar
    wwan: fix checks on IP configuration · 8ddc6caf
    Beniamino Galvani authored
    Don't call nm_utils_parse_inaddr_bin() if the string returned by
    mm_bearer_ip_config_get_address() and mm_bearer_ip_config_get_gateway()
    is NULL, as the function requires a valid pointer. Throw an error if the
    address is NULL, but allow an empty gateway.
    Fixes: 7837afe8
nm-modem-broadband.c 46.9 KB