error handling, change -f to -i
This commit is contained in:
@ -38,7 +38,7 @@ typedef struct s_settings
|
||||
t_host_list *hosts;
|
||||
int count; // -c (--count)
|
||||
int timeout; // -w (--timeout)
|
||||
short flood; // -f (--flood)
|
||||
double interval; //-i (--interval)
|
||||
short no_resolve; //-n (--numeric)
|
||||
int ttl; // --ttl
|
||||
short setTtl; // is ttl set
|
||||
@ -65,5 +65,6 @@ int add_host(t_settings *res, char *host);
|
||||
void free_hosts(t_host_list *list);
|
||||
t_settings parse_args(int argc, char **argv);
|
||||
void show_help(t_settings *set, char *name);
|
||||
void send_pings(t_settings set);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user