aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.c')
-rw-r--r--src/cmd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd.c b/src/cmd.c
index 6017ccb..bf5be83 100644
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.2 2008/02/15 23:52:12 james
+ * *** empty log message ***
+ *
* Revision 1.1 2008/02/15 15:14:19 james
* *** empty log message ***
*
@@ -32,6 +35,8 @@ cmd_parse (Cmd * c, Context * ctx, char *buf)
ctx->k->set_baud (ctx->k, ctx, atoi (buf + 4));
if (!strncmp (buf, "break", 4))
ctx->k->send_break (ctx->k, ctx);
+ if (!strncmp (buf, "hangup", 4))
+ ctx->k->hangup (ctx->k, ctx);
}