so that a user can disconnect easily by hitting ^D.
Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
ryu/app/cli.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ryu/app/cli.py b/ryu/app/cli.py
index 96b9b78..db7ba6a 100644
--- a/ryu/app/cli.py
+++ b/ryu/app/cli.py
@@ -126,6 +126,10 @@ class CliCmd(cmd.Cmd):
print(fmt % args)
CONF.log_opt_values(MyLogger(), None)
+ @command_log
+ def do_EOF(self, params):
+ return True
+
class SshServer(paramiko.ServerInterface):
def __init__(self, logger, sock, addr):
--
1.8.0.1
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel