mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-25 19:52:19 +00:00
Fixed a variable declaration
This commit is contained in:
parent
9d790fcc07
commit
15ddf1c45b
@ -49,6 +49,8 @@ extern int optind, opterr, optopt;
|
|||||||
int destroy_netsukuku_mutex;
|
int destroy_netsukuku_mutex;
|
||||||
int pid_saved;
|
int pid_saved;
|
||||||
|
|
||||||
|
int prevent_doubles;
|
||||||
|
|
||||||
int options_parsed=0; /* How many times parse_options() has been called */
|
int options_parsed=0; /* How many times parse_options() has been called */
|
||||||
|
|
||||||
void save_pid(void)
|
void save_pid(void)
|
||||||
@ -440,7 +442,7 @@ void parse_options(int argc, char **argv)
|
|||||||
exit(0);
|
exit(0);
|
||||||
break;
|
break;
|
||||||
case 'e':
|
case 'e':
|
||||||
int prevent_doubles = -1;
|
prevent_doubles = -1;
|
||||||
prevent_doubles++;
|
prevent_doubles++;
|
||||||
exclude_interface(prevent_doubles);
|
exclude_interface(prevent_doubles);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user