summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2006-01-05 12:34:12 +0000
committerRodrigo Moya <rodrigo@src.gnome.org>2006-01-05 12:34:12 +0000
commit7574df33b614902967f66b66d58e45aa35d95792 (patch)
treea2d49b6e768bb1791e41cefed2753ad44181d54c
parentaeffb6295068e0d2c0d56eb635a4fe661b9a1788 (diff)
downloadgnome-session-7574df33b614902967f66b66d58e45aa35d95792.tar.gz
only run the reverse DNS check if using IP protocol.
2006-01-05 Rodrigo Moya <rodrigo@novell.com> * main.c (main): only run the reverse DNS check if using IP protocol.
-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);