mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 04:53:37 +00:00
xact: Fix debug message printed when not needed
This commit is contained in:
committed by
Sukchan Lee
parent
ab51ba9dd5
commit
75f32e07de
@@ -859,11 +859,11 @@ int ogs_gtp1_xact_receive(
|
||||
}
|
||||
}
|
||||
|
||||
ogs_debug("[%d] Cannot find xact type %u from GTPv1 peer [%s]:%d",
|
||||
xid, type, OGS_ADDR(&gnode->addr, buf), OGS_PORT(&gnode->addr));
|
||||
|
||||
if (!new)
|
||||
if (!new) {
|
||||
ogs_debug("[%d] Cannot find xact type %u from GTPv1 peer [%s]:%d",
|
||||
xid, type, OGS_ADDR(&gnode->addr, buf), OGS_PORT(&gnode->addr));
|
||||
new = ogs_gtp_xact_remote_create(gnode, 1, sqn);
|
||||
}
|
||||
ogs_assert(new);
|
||||
|
||||
ogs_debug("[%d] %s Receive peer [%s]:%d",
|
||||
@@ -947,12 +947,11 @@ int ogs_gtp_xact_receive(
|
||||
}
|
||||
}
|
||||
|
||||
ogs_debug("[%d] Cannot find xact type %u from GTPv2 peer [%s]:%d",
|
||||
xid, type,
|
||||
OGS_ADDR(&gnode->addr, buf), OGS_PORT(&gnode->addr));
|
||||
|
||||
if (!new)
|
||||
if (!new) {
|
||||
ogs_debug("[%d] Cannot find xact type %u from GTPv2 peer [%s]:%d",
|
||||
xid, type, OGS_ADDR(&gnode->addr, buf), OGS_PORT(&gnode->addr));
|
||||
new = ogs_gtp_xact_remote_create(gnode, 2, sqn);
|
||||
}
|
||||
ogs_assert(new);
|
||||
|
||||
ogs_debug("[%d] %s Receive peer [%s]:%d",
|
||||
|
||||
@@ -717,11 +717,11 @@ int ogs_pfcp_xact_receive(
|
||||
}
|
||||
}
|
||||
|
||||
ogs_debug("[%d] Cannot find new type %u from PFCP peer [%s]:%d",
|
||||
xid, type, OGS_ADDR(&node->addr, buf), OGS_PORT(&node->addr));
|
||||
|
||||
if (!new)
|
||||
if (!new) {
|
||||
ogs_debug("[%d] Cannot find new type %u from PFCP peer [%s]:%d",
|
||||
xid, type, OGS_ADDR(&node->addr, buf), OGS_PORT(&node->addr));
|
||||
new = ogs_pfcp_xact_remote_create(node, sqn);
|
||||
}
|
||||
ogs_assert(new);
|
||||
|
||||
ogs_debug("[%d] %s Receive peer [%s]:%d",
|
||||
|
||||
Reference in New Issue
Block a user