Index: dns-sd-method.c
===================================================================
RCS file: /cvs/gnome/gnome-vfs/modules/dns-sd-method.c,v
retrieving revision 1.8
diff -u -r1.8 dns-sd-method.c
--- dns-sd-method.c	22 Nov 2005 10:55:30 -0000	1.8
+++ dns-sd-method.c	9 Feb 2006 23:13:44 -0000
@@ -69,6 +69,8 @@
 	{"_webdav._tcp", "dav", "gnome-fs-share"},
 	{"_webdavs._tcp", "davs", "gnome-fs-share"},
 	{"_sftp-ssh._tcp", "sftp", "gnome-fs-ssh"},
+	{"_nfs._udp", "nfs", "gnome-fs-nfs"},
+	{"_nfs._tcp", "nfs", "gnome-fs-nfs"},
 };
 
 #if defined (HAVE_HOWL) || defined (HAVE_AVAHI)
@@ -634,8 +636,14 @@
 		
 		
 	}
-		    
-	link_uri = g_strdup_printf ("%s://%s%s:%d%s",
+
+	if (strcmp(dns_sd_types[i].method,"nfs")==0)
+		link_uri = g_strdup_printf ("%s://%s%s%s",
+				    dns_sd_types[i].method,
+				    user_and_pwd?user_and_pwd:"",
+				    host, path);
+	else
+		link_uri = g_strdup_printf ("%s://%s%s:%d%s",
 				    dns_sd_types[i].method,
 				    user_and_pwd?user_and_pwd:"",
 				    host, port, path);
