fix ttl
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/26 17:01:53 by tomoron #+# #+# */
|
||||
/* Updated: 2025/08/18 15:50:29 by tomoron ### ########.fr */
|
||||
/* Updated: 2025/08/20 15:58:13 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
#include "includes/ft_ping.h"
|
||||
@ -131,6 +131,7 @@ int parse_args(int argc, char **argv, t_settings *set)
|
||||
break;
|
||||
case 1000:
|
||||
set->ttl = get_set_int(optarg, set);
|
||||
set->setTtl = 1;
|
||||
break;
|
||||
case 'h':
|
||||
case '?':
|
||||
|
Reference in New Issue
Block a user