projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
novi upstream verzije 2.8.3
[ossec-hids.git]
/
src
/
rootcheck
/
check_rc_ports.c
diff --git
a/src/rootcheck/check_rc_ports.c
b/src/rootcheck/check_rc_ports.c
index
d40356d
..
94b1fae
100755
(executable)
--- a/
src/rootcheck/check_rc_ports.c
+++ b/
src/rootcheck/check_rc_ports.c
@@
-85,7
+85,10
@@
int conn_port(int proto, int port)
if((ossock = socket(PF_INET,SOCK_STREAM,IPPROTO_TCP)) < 0)
return(0);
}
-
+ else
+ {
+ return (0);
+ }
memset(&server, 0, sizeof(server));
server.sin_family = AF_INET;