diff options
Diffstat (limited to 'if-options.h')
| -rw-r--r-- | if-options.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/if-options.h b/if-options.h index 64c8bdea..7fad0e5d 100644 --- a/if-options.h +++ b/if-options.h @@ -37,7 +37,7 @@ /* Don't set any optional arguments here so we retain POSIX * compatibility with getopt */ -#define IF_OPTS "bc:def:h:i:kl:m:no:pqr:s:t:u:v:xy:z:ABC:DEF:GI:KLN:O:Q:TVX:Z:" +#define IF_OPTS "a:bc:def:h:i:kl:m:no:pqr:s:t:u:v:xy:z:ABC:DEF:GI:KLN:O:Q:TVX:Z:" #define DEFAULT_TIMEOUT 30 #define DEFAULT_REBOOT 10 @@ -100,9 +100,12 @@ struct if_options { size_t blacklist_len; in_addr_t *blacklist; + size_t arping_len; + in_addr_t *arping; }; -struct if_options *read_config(const char *, const char *, const char *); +struct if_options *read_config(const char *, + const char *, const char *, const char *); int add_options(struct if_options *, int, char **); void free_options(struct if_options *); |
