receive of icmp work, needs statistics and missing settings
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/24 00:03:56 by tomoron #+# #+# */
|
||||
/* Updated: 2025/04/29 18:39:49 by tomoron ### ########.fr */
|
||||
/* Updated: 2025/04/30 16:48:45 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -54,6 +54,7 @@ int main(int argc, char **argv)
|
||||
settings = parse_args(argc, argv);
|
||||
settings.socket = init_socket(argv[0]);
|
||||
settings.id = get_id();
|
||||
settings.name = argv[0];
|
||||
if(settings.stop || settings.err || settings.socket == -1)
|
||||
{
|
||||
free_hosts(settings.hosts);
|
||||
|
Reference in New Issue
Block a user