summaryrefslogtreecommitdiff
path: root/tap-megaco-common.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-09-23 06:08:19 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-09-23 06:08:19 +0000
commita1925522db977eb4ec45ea023a6d68b8ec3ebf3f (patch)
treeffdae4a89b32ecc12a92475e2bbce1803011ec1a /tap-megaco-common.c
parentf12ef203b39206726a435590e64f8014f6b84ec9 (diff)
downloadwireshark-a1925522db977eb4ec45ea023a6d68b8ec3ebf3f.tar.gz
Remove unnecessary include: register.h
svn path=/trunk/; revision=34194
Diffstat (limited to 'tap-megaco-common.c')
-rw-r--r--tap-megaco-common.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/tap-megaco-common.c b/tap-megaco-common.c
index 882ecba0d7..55bc5338ab 100644
--- a/tap-megaco-common.c
+++ b/tap-megaco-common.c
@@ -41,7 +41,6 @@
#include <epan/tap.h>
#include "epan/gcp.h"
-#include "../register.h"
#include "../timestats.h"
#include "../simple_dialog.h"
#include "../file.h"
@@ -64,7 +63,7 @@ megacostat_is_duplicate_reply(const gcp_cmd_t* cmd)
if (cmd_msg->cmd->type == cmd->type)
return TRUE;
}
-
+
return FALSE;
}
break;
@@ -73,7 +72,7 @@ megacostat_is_duplicate_reply(const gcp_cmd_t* cmd)
break;
}
-
+
}
static gboolean
@@ -87,7 +86,7 @@ megacostat_had_request(const gcp_cmd_t* cmd)
/* cycle through commands to find a request in the transaction */
for (cmd_msg = cmd->trx->cmds; cmd_msg->cmd->msg->framenum != cmd->msg->framenum &&
cmd_msg != NULL; cmd_msg = cmd_msg->next) {
-
+
switch (cmd_msg->cmd->type) {
GCP_CMD_REQ_CASE
@@ -98,7 +97,7 @@ megacostat_had_request(const gcp_cmd_t* cmd)
break;
}
}
-
+
return FALSE;
}
break;
@@ -120,11 +119,11 @@ megacostat_packet(void *pms, packet_info *pinfo, epan_dissect_t *edt _U_, const
GCP_CMD_REQ_CASE
if(!mi->trx->initial) {
- /* Track Context is probably disabled, we cannot
+ /* Track Context is probably disabled, we cannot
* measure service response time */
return 0;
}
-
+
else if(mi->trx->initial->framenum != mi->msg->framenum){
/* Duplicate is ignored */
ms->req_dup_num++;
@@ -149,7 +148,7 @@ megacostat_packet(void *pms, packet_info *pinfo, epan_dissect_t *edt _U_, const
nstime_delta(&delta, &pinfo->fd->abs_ts, &mi->trx->initial->time);
switch(mi->type) {
-
+
case GCP_CMD_ADD_REPLY:
time_stat_update(&(ms->rtd[0]),&delta, pinfo);
break;