mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
The output from usage() need not contain usage for -t when STATETOP
is not compiled in. PR: 247952 MFC after: 1 week
This commit is contained in:
parent
e082c89385
commit
ebdefe6cb4
1 changed files with 2 additions and 0 deletions
|
|
@ -171,10 +171,12 @@ static void usage(name)
|
|||
fprintf(stderr, "Usage: %s [-4aAdfghIilnoRsv]\n", name);
|
||||
#endif
|
||||
fprintf(stderr, " %s [-M corefile] [-N symbol-list]\n", name);
|
||||
#ifdef STATETOP
|
||||
#ifdef USE_INET6
|
||||
fprintf(stderr, " %s -t [-46C] ", name);
|
||||
#else
|
||||
fprintf(stderr, " %s -t [-4C] ", name);
|
||||
#endif
|
||||
#endif
|
||||
fprintf(stderr, "[-D destination address] [-P protocol] [-S source address] [-T refresh time]\n");
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue