Use _F1_EQ_CHECK_INT in eq_f1ap_plmn

This commit is contained in:
Guido Casati
2024-09-27 11:22:03 +02:00
parent 11df3c743f
commit 648ed19544
+4 -1
View File
@@ -29,7 +29,10 @@
bool eq_f1ap_plmn(const f1ap_plmn_t *a, const f1ap_plmn_t *b)
{
return a->mcc == b->mcc && a->mnc == b->mnc && a->mnc_digit_length == b->mnc_digit_length;
_F1_EQ_CHECK_INT(a->mcc, b->mcc);
_F1_EQ_CHECK_INT(a->mnc, b->mnc);
_F1_EQ_CHECK_INT(a->mnc_digit_length, b->mnc_digit_length);
return true;
}
uint8_t *cp_octet_string(const OCTET_STRING_t *os, int *len)