pcu: Verify IPv4 address communicated in PCU-originated SNS-CONFIG PDU
Prior to this patch, the test accepted anything as list of IPv4 endpoints in the PCU-originated SNS-CONFIG PDU. Using this patch, the corect IPv4 address and UDP port number is verified. Change-Id: Ia57100c7833bebc8d77118968c19ab12a3834036 Related: OS#3845
This commit is contained in:
parent
ecd159ecc7
commit
7e6a35cc65
|
@ -39,7 +39,9 @@ function f_incoming_sns_config(template (omit) NsCause cause := omit, integer id
|
|||
runs on RAW_NS_CT {
|
||||
log("f_incoming_sns_config(idx=", idx, ")");
|
||||
var PDU_NS rx;
|
||||
rx := f_ns_exp(tr_SNS_CONFIG(g_nsconfig[idx].nsei, end_flag := true, v4 := ?), idx);
|
||||
var template IP4_Elements v4_elem := { tr_SNS_IPv4(mp_nsconfig.remote_ip,
|
||||
mp_nsconfig.remote_udp_port) };
|
||||
rx := f_ns_exp(tr_SNS_CONFIG(g_nsconfig[idx].nsei, end_flag := true, v4 := v4_elem), idx);
|
||||
NSCP[idx].send(t_NS_Send(g_ns_conn_id[idx], ts_SNS_CONFIG_ACK(g_nsconfig[idx].nsei, cause)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue