on MIPS machines.
Reported-by: Anirban Sinha <ASinha@zeugmasystems.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
int htype;
htype = client_gettype(rep->r_client);
int htype;
htype = client_gettype(rep->r_client);
+ if (htype == MCL_FQDN || htype == MCL_SUBNETWORK
&& (hp = gethostbyname (rep->r_client))
&& (hp = hostent_dup (hp),
exp = export_allowed (hp, rep->r_path))) {
&& (hp = gethostbyname (rep->r_client))
&& (hp = hostent_dup (hp),
exp = export_allowed (hp, rep->r_path))) {