mirror of
https://gerrit.osmocom.org/osmo-gbproxy
synced 2024-08-21 18:36:25 +00:00
mgcp/test: Don't reset conn_mode between messages
Currently, the conn_mode field is reset after it has been checked. This patch disables this behaviour and only adds a mark (bit) to detect modifications. Sponsored-by: On-Waves ehf
This commit is contained in:
parent
f31886142a
commit
18819c2687
2 changed files with 2 additions and 3 deletions
|
@ -416,9 +416,7 @@ static void test_messages(void)
|
|||
endp->net_end.packet_duration_ms = -1;
|
||||
endp->local_options.pkt_period_min = 0;
|
||||
endp->local_options.pkt_period_max = 0;
|
||||
endp->conn_mode = MGCP_CONN_NONE | CONN_UNMODIFIED;
|
||||
endp->net_end.output_enabled = 0;
|
||||
endp->bts_end.output_enabled = 0;
|
||||
endp->conn_mode |= CONN_UNMODIFIED;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ Detected packet duration: 40
|
|||
Requested packetetization period: 20-20
|
||||
Connection mode: 1, BTS output enabled, NET output disabled
|
||||
Testing MDCX3
|
||||
Dummy packets: 1
|
||||
Packet duration not set
|
||||
Requested packetization period not set
|
||||
Connection mode not set
|
||||
|
|
Loading…
Reference in a new issue