Michael Biebl wrote:

> If I activate a normal (i.e. no vpn) connection, priv->vpn_config will
> be NULL.
> Thus in rewrite_resolv_conf(line 445), dispatch_resolvconf is called
> with an empty config. The results is that in dispatch_resolvconf(line
> 377) the resolvconf entry will be *removed* and as TRUE is returned,
> rewrite_resolv_conf will return at this point.
> 
> I applied the attached patch to get it working for me. I haven't tested
> VPN connections.

Actually, my patch is not correct, as the entry will never be deleted
again ;-)
Still thinking about how to do it properly...

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to