walters / rpms / nfs-utils

Forked from rpms/nfs-utils 6 years ago
Clone
8ce33e3
diff -up nfs-utils-1.1.2/support/export/rmtab.c.orig nfs-utils-1.1.2/support/export/rmtab.c
8ce33e3
--- nfs-utils-1.1.2/support/export/rmtab.c.orig	2008-03-14 11:46:29.000000000 -0400
8ce33e3
+++ nfs-utils-1.1.2/support/export/rmtab.c	2008-06-24 20:15:06.000000000 -0400
8ce33e3
@@ -31,7 +31,7 @@ rmtab_read(void)
8ce33e3
 		int			htype;
8ce33e3
 		
8ce33e3
 		htype = client_gettype(rep->r_client);
8ce33e3
-		if (htype == MCL_FQDN || htype == MCL_SUBNETWORK
8ce33e3
+		if ((htype == MCL_FQDN || htype == MCL_SUBNETWORK)
8ce33e3
 		    && (hp = gethostbyname (rep->r_client))
8ce33e3
 		    && (hp = hostent_dup (hp),
8ce33e3
 			exp = export_allowed (hp, rep->r_path))) {