From Jelmer Vernooij via enhancement bug #2929:
Tie the IRC dissector to port 57000 for dircproxy and other IRC proxies. svn path=/trunk/; revision=26331
This commit is contained in:
parent
8f8f84f6ae
commit
30d7ab211e
|
@ -54,6 +54,7 @@ static int hf_irc_response = -1;
|
|||
static gint ett_irc = -1;
|
||||
|
||||
#define TCP_PORT_IRC 6667
|
||||
#define TCP_PORT_DIRCPROXY 57000
|
||||
/* good candidate for dynamic port specification */
|
||||
|
||||
static void
|
||||
|
@ -157,4 +158,5 @@ proto_reg_handoff_irc(void)
|
|||
|
||||
irc_handle = create_dissector_handle(dissect_irc, proto_irc);
|
||||
dissector_add("tcp.port", TCP_PORT_IRC, irc_handle);
|
||||
dissector_add("tcp.port", TCP_PORT_DIRCPROXY, irc_handle);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue