diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-09-23 06:08:19 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-09-23 06:08:19 +0000 |
commit | 7922758c4a1ae891cd7f2b13d4b719ab166277aa (patch) | |
tree | ffdae4a89b32ecc12a92475e2bbce1803011ec1a /tap-sipstat.c | |
parent | f5b9349d6284eff4be6ba7771cc0e65ad4dee2f4 (diff) |
Remove unnecessary include: register.h
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34194 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tap-sipstat.c')
-rw-r--r-- | tap-sipstat.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tap-sipstat.c b/tap-sipstat.c index 6d3c9a30cf..5d545b66f1 100644 --- a/tap-sipstat.c +++ b/tap-sipstat.c @@ -38,7 +38,6 @@ #include <epan/tap.h> #include <epan/stat_cmd_args.h> #include "epan/value_string.h" -#include "register.h" #include <epan/dissectors/packet-sip.h> /* used to keep track of the statictics for an entire program interface */ @@ -247,7 +246,7 @@ sipstat_packet(void *psp, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const { const sip_info_value_t *value=pri; sipstat_t *sp = (sipstat_t *)psp; - + /* Total number of packets, including continuation packets */ sp->packets++; @@ -269,17 +268,17 @@ sipstat_packet(void *psp, packet_info *pinfo _U_, epan_dissect_t *edt _U_, const sp->min_setup_time = value->setup_time; } /* Calculate average */ - sp->average_setup_time = (guint32)(sp->total_setup_time / sp->no_of_completed_calls); + sp->average_setup_time = (guint32)(sp->total_setup_time / sp->no_of_completed_calls); } } - + /* Update resent count if flag set */ if (value->resend) { sp->resent_packets++; } - + /* Looking at both requests and responses */ if (value->response_code != 0) { |