mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 01:03:05 -04:00
[master] don't use strncasecmp for command line option
This commit is contained in:
parent
67d01dcacb
commit
f4ada59b35
1 changed files with 1 additions and 1 deletions
|
|
@ -754,7 +754,7 @@ do_next_command(char *input) {
|
|||
show_settings(ISC_TRUE, ISC_TRUE);
|
||||
} else if (strcasecmp(ptr, "exit") == 0) {
|
||||
in_use = ISC_FALSE;
|
||||
} else if (strncasecmp(ptr, "ver", 3) == 0) {
|
||||
} else if (strcasecmp(ptr, "version") == 0) {
|
||||
version();
|
||||
} else if (strcasecmp(ptr, "help") == 0 ||
|
||||
strcasecmp(ptr, "?") == 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue