Fix checks for mobile IPsec
When mobile is set, it is an empty string and hence should bechecked with isset(). Also make sure the mobile network typeis properly set, otherwise ipsec_idinfo_to_cidr() will not catch it.
Fix checks for mobile IPsec
When mobile is set, it is an empty string and hence should be
checked with isset(). Also make sure the mobile network type
is properly set, otherwise ipsec_idinfo_to_cidr() will not catch it.