aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rlm.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2012-06-20 13:30:07 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2012-06-20 13:30:07 +0000
commitc8391561bf16bde475344593e7987bc45c94944e (patch)
tree7f1ac290c1925812ef8d63c739a0e558ed2cd958 /epan/dissectors/packet-rlm.c
parentade3bd548ae4b02c8cb9bb8344b9329997ed62d8 (diff)
Use separate filters for the RTT found on a SACK and the RTT found on a
DATA chunk: having them in both places is helpful when looking at the messages but having them separate is helpful when graphing the RTTs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43406 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-rlm.c')
-rw-r--r--epan/dissectors/packet-rlm.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/epan/dissectors/packet-rlm.c b/epan/dissectors/packet-rlm.c
index d1d7f17a8a..0ea593a6bf 100644
--- a/epan/dissectors/packet-rlm.c
+++ b/epan/dissectors/packet-rlm.c
@@ -51,9 +51,8 @@
# include "config.h"
#endif
-#include <stdlib.h>
-
#include <glib.h>
+
#include <epan/packet.h>
#include <epan/xdlc.h>
@@ -140,23 +139,23 @@ dissect_rlm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
switch (rlm_type) {
case RLM_START_REQUEST:
type_str = "Start request";
- break;;
+ break;
case RLM_START_ACK:
type_str = "Start acknowledgement";
- break;;
+ break;
case RLM_ECHO_REQUEST:
type_str = "Echo request";
- break;;
+ break;
case RLM_ECHO_REPLY:
type_str = "Echo reply";
- break;;
+ break;
default:
type_str = "Unknown type";
- break;;
+ break;
}
col_set_str(pinfo->cinfo, COL_INFO, type_str);