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>
This commit is contained in:
Darien Spencer 2018-09-08 19:01:25 +03:00 committed by Stig Bjørlykke
parent 5f9a85c62f
commit ac28cefcc5
1 changed files with 1 additions and 1 deletions

View File

@ -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;