lb: Log name of unhandled sigtran primitive

Change-Id: I2d71fd347af404c025fc6b13e96f1964e685db05
This commit is contained in:
Pau Espin 2024-04-16 21:31:18 +02:00
parent 829986e06a
commit d7afb4341e
1 changed files with 3 additions and 2 deletions

View File

@ -209,8 +209,9 @@ static int sccp_sap_up(struct osmo_prim_hdr *oph, void *_scu)
break;
default:
LOGP(DLCS, LOGL_ERROR, "Unhandled SIGTRAN operation %s on primitive %u\n",
get_value_string(osmo_prim_op_names, oph->operation), oph->primitive);
LOGP(DLCS, LOGL_ERROR, "Unhandled SIGTRAN primitive %s.%s\n",
osmo_scu_prim_type_name(oph->primitive),
get_value_string(osmo_prim_op_names, oph->operation));
break;
}