changeset 14800:c678034a7e3e

[gaim-migrate @ 17565] [ 1582776 ] Re-init resolver when libnm connection changes committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 23 Oct 2006 17:53:55 +0000
parents e908bff64af5
children 1986872f2868
files COPYRIGHT libgaim/network.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Mon Oct 23 01:07:27 2006 +0000
+++ b/COPYRIGHT	Mon Oct 23 17:53:55 2006 +0000
@@ -62,6 +62,7 @@
 Jason Cohen
 Todd Cohen
 Jono Cole
+Lorenzo Colitti
 Nathan Conrad
 Felipe Contreras
 Alex Converse
--- a/libgaim/network.c	Mon Oct 23 01:07:27 2006 +0000
+++ b/libgaim/network.c	Mon Oct 23 17:53:55 2006 +0000
@@ -543,6 +543,8 @@
 	switch(current)
 	{
 	case LIBNM_ACTIVE_NETWORK_CONNECTION:
+		/* Call res_init in case DNS servers have changed */
+		res_init();
 		ui_ops->network_connected();
 		prev = current;
 		break;