File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 6
6
/* By: ale-batt <[email protected] > +#+ +:+ +#+ */
7
7
/* +#+#+#+#+#+ +#+ */
8
8
/* Created: 2017/03/14 18:17:35 by ale-batt #+# #+# */
9
- /* Updated: 2017/03/31 18: 17:33 by ale-batt ### ########.fr */
9
+ /* Updated: 2017/08/02 17:34:46 by ale-batt ### ########.fr */
10
10
/* */
11
11
/* ************************************************************************** */
12
12
@@ -57,7 +57,9 @@ void *listener(void *ptr);
57
57
void get_local_ip (char * buffer );
58
58
char * hostname_to_ip (const char * hostname );
59
59
u_short csum (u_short * ptr , int nbytes );
60
- const char * port_to_str (int port )
60
+ const char * port_to_str (int port );
61
+
62
+ int get_port_status (t_port * port );
61
63
62
64
enum e_tcp_type tcp_to_enum (struct tcphdr * tcph );
63
65
Original file line number Diff line number Diff line change 6
6
/* By: ale-batt <[email protected] > +#+ +:+ +#+ */
7
7
/* +#+#+#+#+#+ +#+ */
8
8
/* Created: 2017/03/23 15:31:08 by ale-batt #+# #+# */
9
- /* Updated: 2017/03/31 18:21:54 by ale-batt ### ########.fr */
9
+ /* Updated: 2017/08/02 17:36:48 by ale-batt ### ########.fr */
10
10
/* */
11
11
/* ************************************************************************** */
12
12
@@ -81,7 +81,6 @@ void print_port_lst(t_list *port_lst)
81
81
t_list * tmp ;
82
82
t_port * port ;
83
83
84
- ft_bzero (state , sizeof (state ));
85
84
tmp = port_lst ;
86
85
puts ("-----------------------------------------------------------------" );
87
86
printf ("Port | Status | Result | Service\n" );
You can’t perform that action at this time.
0 commit comments