It's not only executable but a script as well: propset eol-style + keywords
[obnox/wireshark/wip.git] / tap-h225rassrt.c
index 4f6e79425ba6e41982f7f5c7a9766363c96fcfe1..d9db4141a6ebb86c0f504dcdc19c83925b4a5576 100644 (file)
@@ -1,11 +1,11 @@
 /* tap_h225rassrt.c
- * h225 RAS Service Response Time statistics for ethereal
+ * h225 RAS Service Response Time statistics for wireshark
  * Copyright 2003 Lars Roland
  *
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
@@ -36,7 +36,7 @@
 #include <string.h>
 #include "epan/packet_info.h"
 #include <epan/tap.h>
-#include <epan/stat.h>
+#include <epan/stat_cmd_args.h>
 #include "epan/value_string.h"
 #include "register.h"
 #include <epan/dissectors/packet-h225.h>
@@ -212,7 +212,7 @@ h225rassrt_draw(void *phs)
 
 
 static void
-h225rassrt_init(const char *optarg)
+h225rassrt_init(const char *optarg, void* userdata _U_)
 {
        h225rassrt_t *hs;
        const char *filter=NULL;
@@ -236,7 +236,7 @@ h225rassrt_init(const char *optarg)
                g_free(hs->filter);
                g_free(hs);
 
-               fprintf(stderr, "tethereal: Couldn't register h225,srt tap: %s\n",
+               fprintf(stderr, "tshark: Couldn't register h225,srt tap: %s\n",
                    error_string->str);
                g_string_free(error_string, TRUE);
                exit(1);
@@ -247,5 +247,5 @@ h225rassrt_init(const char *optarg)
 void
 register_tap_listener_h225rassrt(void)
 {
-       register_stat_cmd_arg("h225,srt", h225rassrt_init);
+       register_stat_cmd_arg("h225,srt", h225rassrt_init,NULL);
 }