003-rpc_fix.patch (497B)
1 --- a/xinetd/confparse.c 2 +++ b/xinetd/confparse.c 3 @@ -745,7 +745,7 @@ static status_e check_entry( struct serv 4 } 5 } 6 7 -/* #ifndef NO_RPC */ 8 +#ifndef NO_RPC 9 #if defined(HAVE_RPC_RPCENT_H) || defined(HAVE_NETDB_H) 10 if ( SC_IS_RPC( scp ) && !SC_IS_UNLISTED( scp ) ) 11 { 12 @@ -759,6 +759,7 @@ static status_e check_entry( struct serv 13 SC_RPCDATA( scp )->rd_program_number = rep->r_number ; 14 } 15 else 16 +#endif 17 #endif /* ! NO_RPC */ 18 { 19 if ( !SC_IS_UNLISTED( scp ) )