aboutsummaryrefslogtreecommitdiffstats
path: root/packet-telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-telnet.c')
-rw-r--r--packet-telnet.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/packet-telnet.c b/packet-telnet.c
index a1c9b28a0a..81d58840d0 100644
--- a/packet-telnet.c
+++ b/packet-telnet.c
@@ -2,10 +2,10 @@
* Routines for telnet packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-telnet.c,v 1.25 2001/10/26 02:55:20 gram Exp $
+ * $Id: packet-telnet.c,v 1.26 2001/12/03 03:59:40 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
* Copied from packet-pop.c
@@ -434,6 +434,8 @@ proto_register_telnet(void)
void
proto_reg_handoff_telnet(void)
{
- dissector_add("tcp.port", TCP_PORT_TELNET, dissect_telnet,
- proto_telnet);
+ dissector_handle_t telnet_handle;
+
+ telnet_handle = create_dissector_handle(dissect_telnet, proto_telnet);
+ dissector_add("tcp.port", TCP_PORT_TELNET, telnet_handle);
}