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