Have tap listeners specify whether the "packet" routine requires
[obnox/wireshark/wip.git] / gtk / sctp_stat.c
index 04f534e082673e86514b0b130b6133bcf43e95c0..2672ca886cee7292b39ff66db5b9ec24c7e749f7 100644 (file)
@@ -1277,7 +1277,7 @@ register_tap_listener_sctp_stat(void)
 
        if (!sctp_tapinfo_struct.is_registered)
        {
-               if ((error_string = register_tap_listener("sctp", &sctp_tapinfo_struct, NULL, reset, packet, sctp_update))) {
+               if ((error_string = register_tap_listener("sctp", &sctp_tapinfo_struct, NULL, 0, reset, packet, sctp_update))) {
                        simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "%s", error_string->str);
                        g_string_free(error_string, TRUE);
                        return;