aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2024-03-18 08:07:55 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2024-03-19 04:43:21 +0100
commitae1ba71c3e5976c52bc928b1be59b6b560581b69 (patch)
tree2a8ddfcf58a2c79857c8ce189fd1a257519786cd /tests
parentf1f869e623578a6bf694d58b5e266969ef13b18e (diff)
HACK: make Node-ID non-mandatory to accomodate some non-standard serverneels/tweaks
eUPF omits the Node-ID when the Session Establishment Response reports a failure. This patch is bad because all current callers need to adjust, and make sure to set the newly added node_id_present flag to true. See also https://github.com/edgecomllc/eupf/issues/539
Diffstat (limited to 'tests')
-rw-r--r--tests/libosmo-pfcp/pfcp_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libosmo-pfcp/pfcp_test.c b/tests/libosmo-pfcp/pfcp_test.c
index 801932c..408d263 100644
--- a/tests/libosmo-pfcp/pfcp_test.c
+++ b/tests/libosmo-pfcp/pfcp_test.c
@@ -273,6 +273,7 @@ struct osmo_pfcp_msg tests[] = {
.seid = 0x0123456789abcdef,
},
.ies.session_est_resp = {
+ .node_id_present = true,
.node_id = {
.type = OSMO_PFCP_NODE_ID_T_IPV4,
.ip.u.sin = {