|
|
5b7099 |
diff --git a/xinetd/inet.c b/xinetd/inet.c
|
|
|
5b7099 |
index 1cb2ba2..4e1237e 100644
|
|
|
5b7099 |
--- a/xinetd/inet.c
|
|
|
5b7099 |
+++ b/xinetd/inet.c
|
|
|
5b7099 |
@@ -190,7 +190,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
|
|
|
5b7099 |
nvp = nv_find_value( service_types, "RPC" );
|
|
|
5b7099 |
if ( nvp == NULL )
|
|
|
5b7099 |
{
|
|
|
5b7099 |
- parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
|
|
|
5b7099 |
+ parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
|
|
|
5b7099 |
pset_destroy(args);
|
|
|
5b7099 |
sc_free(scp);
|
|
|
5b7099 |
return -1;
|
|
|
5b7099 |
@@ -281,7 +281,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
|
|
|
5b7099 |
nvp = nv_find_value( service_types, "INTERNAL" );
|
|
|
5b7099 |
if ( nvp == NULL )
|
|
|
5b7099 |
{
|
|
|
5b7099 |
- parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
|
|
|
5b7099 |
+ parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
|
|
|
5b7099 |
pset_destroy(args);
|
|
|
5b7099 |
sc_free(scp);
|
|
|
5b7099 |
return -1;
|
|
|
5b7099 |
@@ -359,7 +359,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
|
|
|
5b7099 |
nvp = nv_find_value( service_flags, "REUSE" );
|
|
|
5b7099 |
if ( nvp == NULL )
|
|
|
5b7099 |
{
|
|
|
5b7099 |
- parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
|
|
|
5b7099 |
+ parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
|
|
|
5b7099 |
pset_destroy(args);
|
|
|
5b7099 |
sc_free(scp);
|
|
|
5b7099 |
return -1;
|
|
|
5b7099 |
@@ -370,7 +370,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
|
|
|
5b7099 |
nvp = nv_find_value( service_flags, "NOLIBWRAP" );
|
|
|
5b7099 |
if ( nvp == NULL )
|
|
|
5b7099 |
{
|
|
|
5b7099 |
- parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
|
|
|
5b7099 |
+ parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
|
|
|
5b7099 |
pset_destroy(args);
|
|
|
5b7099 |
sc_free(scp);
|
|
|
5b7099 |
return -1;
|
|
|
5b7099 |
@@ -381,7 +381,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
|
|
|
5b7099 |
nvp = nv_find_value( service_flags, "NAMEINARGS" );
|
|
|
5b7099 |
if ( nvp == NULL )
|
|
|
5b7099 |
{
|
|
|
5b7099 |
- parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
|
|
|
5b7099 |
+ parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
|
|
|
5b7099 |
pset_destroy(args);
|
|
|
5b7099 |
sc_free(scp);
|
|
|
5b7099 |
return (-1);
|