mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-15 23:22:35 -04:00
The "exit" command was not implemented.
This commit is contained in:
parent
cc48bb397f
commit
6e3a8e17fd
1 changed files with 4 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nslookup.c,v 1.37 2000/09/01 21:54:23 bwelling Exp $ */
|
||||
/* $Id: nslookup.c,v 1.38 2000/09/01 22:14:32 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -752,6 +752,9 @@ get_next_command(void) {
|
|||
(strcasecmp(ptr, "lserver") == 0)) {
|
||||
printf("Server:\t%s\n", arg);
|
||||
setsrv(arg);
|
||||
} else if (strcasecmp(ptr, "exit") == 0) {
|
||||
in_use = ISC_FALSE;
|
||||
return;
|
||||
} else
|
||||
addlookup(ptr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue