-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Description
Hi all,
I found the following issue with the libcli. Entering a mode and issuing the same command by mistake, causes the main loop to hang forever. This can be simply reproduced with the test program, as shown below:
$ telnet 127.0.0.1 8000
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
libcli test environment
Username: fred
Password:
router> enable
Password:
router# configure terminal
router(config)# interface test0/0
router(config-test)# interface
At this point, the CLI hangs and won't return a prompt.
I did some research by myself and think there's something wrong here:
Line 2913 in b6ff35c
| if (again_config) { |
As a workaround, I removed this check and it works for me so far.
Best regards,
Stefan Mächler
Metadata
Metadata
Assignees
Labels
No labels