mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-upf.git
synced 2025-11-02 04:53:24 +00:00
silence misleading error: "HEARTBEAT_REQ: Unknown message type"
Heartbeat is handled in libosmo-pfcp, osmo-upf does not need to take any action. Related: SYS#5599 Change-Id: Id81556129b528fa3a1f11ae4d01ad8b89a9be2f9
This commit is contained in:
@@ -221,6 +221,12 @@ static void up_endpoint_rx_cb(struct osmo_pfcp_endpoint *ep, struct osmo_pfcp_ms
|
||||
case OSMO_PFCP_MSGT_SESSION_REP_REQ:
|
||||
up_ep_rx_session_rep_req(up_ep, m);
|
||||
return;
|
||||
case OSMO_PFCP_MSGT_HEARTBEAT_REQ:
|
||||
case OSMO_PFCP_MSGT_HEARTBEAT_RESP:
|
||||
/* Heartbeat is already handled in osmo_pfcp_endpoint_handle_rx() in pfcp_endpoint.c. The heartbeat
|
||||
* messages are also dispatched here, to the rx_cb, "on informtional basis", nothing needs to happen
|
||||
* here. */
|
||||
return;
|
||||
default:
|
||||
OSMO_LOG_PFCP_MSG(m, LOGL_ERROR, "Unknown message type\n");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user