aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/io.c')
-rw-r--r--protocols/jabber/io.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/protocols/jabber/io.c b/protocols/jabber/io.c
index 67deb3a6..925463a4 100644
--- a/protocols/jabber/io.c
+++ b/protocols/jabber/io.c
@@ -475,14 +475,6 @@ static xt_status jabber_pkt_stream_error( struct xt_node *node, gpointer data )
return XT_ABORT;
}
-static xt_status jabber_pkt_misc( struct xt_node *node, gpointer data )
-{
- printf( "Received unknown packet:\n" );
- xt_print( node );
-
- return XT_HANDLED;
-}
-
static const struct xt_handler_entry jabber_handlers[] = {
{ "stream:stream", "<root>", jabber_end_of_stream },
{ "message", "stream:stream", jabber_pkt_message },
@@ -494,7 +486,6 @@ static const struct xt_handler_entry jabber_handlers[] = {
{ "challenge", "stream:stream", sasl_pkt_challenge },
{ "success", "stream:stream", sasl_pkt_result },
{ "failure", "stream:stream", sasl_pkt_result },
- { NULL, "stream:stream", jabber_pkt_misc },
{ NULL, NULL, NULL }
};