Fix crash if IP6 address is specified.
parent
fc454a8101
commit
a4d7a10553
|
@ -423,7 +423,7 @@ set_config(NMVpnServicePlugin *plugin, NMConnection *connection)
|
||||||
if(setting){
|
if(setting){
|
||||||
val = ip6_to_gvariant(setting);
|
val = ip6_to_gvariant(setting);
|
||||||
if(val){
|
if(val){
|
||||||
g_variant_builder_add(&ip6builder, "{sv}", NM_VPN_PLUGIN_IP6_CONFIG_ADDRESS, setting);
|
g_variant_builder_add(&ip6builder, "{sv}", NM_VPN_PLUGIN_IP6_CONFIG_ADDRESS, val);
|
||||||
has_ip6 = TRUE;
|
has_ip6 = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue