diff options
author | Darien Spencer <cusneud@mail.com> | 2018-09-08 19:01:25 +0300 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2018-09-08 18:31:22 +0000 |
commit | ac28cefcc599ee02fa3f2d5efb723011df9378ae (patch) | |
tree | fd06e64629863fa85538d6bd05dc67a49d6d41ac /epan | |
parent | 5f9a85c62fa7e805512b8b0f015dd023bd9daa0e (diff) |
AT: Fix CSQ checking for wrong action
Should allow ACTION_SIMPLY instead of ACTION
Change-Id: Ia56ee3e17fcc8a36bb41ca38200d19fca689f94b
Reviewed-on: https://code.wireshark.org/review/29489
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-at.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-at.c b/epan/dissectors/packet-at.c index 3dc06dfcdf..612d869d82 100644 --- a/epan/dissectors/packet-at.c +++ b/epan/dissectors/packet-at.c @@ -638,7 +638,7 @@ static gboolean check_csim(gint role, guint16 type) { } static gboolean check_csq(gint role, guint16 type) { - if (role == ROLE_DTE && (type == TYPE_ACTION || type == TYPE_TEST)) return TRUE; + if (role == ROLE_DTE && (type == TYPE_ACTION_SIMPLY || type == TYPE_TEST)) return TRUE; if (role == ROLE_DCE && type == TYPE_RESPONSE) return TRUE; return FALSE; |