blob: 11f47e72e6a7b17b23a8d82a7340eb83050c8067 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- 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 ) )