diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 07:59:51 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 07:59:51 +0000 |
commit | 6110a96f689d51c92c5b00b4dfda3a9cd6916a25 (patch) | |
tree | ef21c459b918013ddfaded20b267565537e9bf64 /plugins/m2m | |
parent | 0a5b014cecf14ec1bea5c87b0ffb5c2f7fa366a1 (diff) |
Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29345
Diffstat (limited to 'plugins/m2m')
-rw-r--r-- | plugins/m2m/packet-m2m.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/m2m/packet-m2m.c b/plugins/m2m/packet-m2m.c index 6a3e5f4fab..564f49f7f5 100644 --- a/plugins/m2m/packet-m2m.c +++ b/plugins/m2m/packet-m2m.c @@ -183,10 +183,7 @@ static void dissect_m2m(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) int expected_len; /* display the M2M protocol name */ - if (check_col(pinfo->cinfo, COL_PROTOCOL)) - { - col_set_str(pinfo->cinfo, COL_PROTOCOL, "WiMax"); - } + col_set_str(pinfo->cinfo, COL_PROTOCOL, "WiMax"); /* Clear out stuff in the info column */ if (check_col(pinfo->cinfo, COL_INFO)) |