walters / rpms / nfs-utils

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