mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-05 21:14:31 +02:00
Fixed IsTcpUdpListening function
This commit is contained in:
parent
232419df8c
commit
1f320f68c2
@ -122,7 +122,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
# Name : IsTcpUdpListening()
|
# Name : IsTcpUdpListening()
|
||||||
# Description : Check if machine is listening on specified protocol and port
|
# Description : Check if machine is listening on specified protocol and port
|
||||||
# Returns : 0 or 1
|
# Returns : LISTENING (0 or 1)
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
IsTcpUdpListening()
|
IsTcpUdpListening()
|
||||||
@ -139,7 +139,6 @@
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
ReportException ${TEST_NO} "Error in function call to IsTcpUdpListening"
|
ReportException ${TEST_NO} "Error in function call to IsTcpUdpListening"
|
||||||
return 1
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user