You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
497 B

  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. -/* #ifndef NO_RPC */
  7. +#ifndef NO_RPC
  8. #if defined(HAVE_RPC_RPCENT_H) || defined(HAVE_NETDB_H)
  9. if ( SC_IS_RPC( scp ) && !SC_IS_UNLISTED( scp ) )
  10. {
  11. @@ -759,6 +759,7 @@ static status_e check_entry( struct serv
  12. SC_RPCDATA( scp )->rd_program_number = rep->r_number ;
  13. }
  14. else
  15. +#endif
  16. #endif /* ! NO_RPC */
  17. {
  18. if ( !SC_IS_UNLISTED( scp ) )