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:
parent
5f9a85c62f
commit
ac28cefcc5
|
@ -638,7 +638,7 @@ static gboolean check_csim(gint role, guint16 type) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean check_csq(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;
|
if (role == ROLE_DCE && type == TYPE_RESPONSE) return TRUE;
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue