summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnome-session/ChangeLog5
-rw-r--r--gnome-session/main.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gnome-session/ChangeLog b/gnome-session/ChangeLog
index 59afebcb..6dd16a97 100644
--- a/gnome-session/ChangeLog
+++ b/gnome-session/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-05 Rodrigo Moya <rodrigo@novell.com>
+
+ * main.c (main): only run the reverse DNS check if using IP
+ protocol.
+
2005-12-08 Elijah Newren <newren@gmail.com>
* main.c (is_later_than_date_of_doom): Year number is measured
diff --git a/gnome-session/main.c b/gnome-session/main.c
index f1d8bba2..c78ac871 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -374,7 +374,8 @@ main (int argc, char *argv[])
/* We need to do this as early as possible */
gsm_set_display_properties ();
- gnome_login_check ();
+ if (ORBit_proto_use ("IPv4") || ORBit_proto_use ("IPv6"))
+ gnome_login_check ();
err = NULL;
g_spawn_command_line_sync (GCONF_SANITY_CHECK, NULL, NULL, &status, &err);