Use Osmux default port define from libosmo-netif
Change-Id: Ibf5fbec591307232be98cad914c0df4b2993db15 Requires: libosmo-netif.git Ibfd058bceeeaa1384a00d8fcd6d6268b445e19bd
This commit is contained in:
parent
f1f73b8e1d
commit
5892b2e4db
|
@ -24,3 +24,4 @@
|
||||||
# If any interfaces have been removed or changed since the last public release, a=0.
|
# If any interfaces have been removed or changed since the last public release, a=0.
|
||||||
#
|
#
|
||||||
#library what description / commit summary line
|
#library what description / commit summary line
|
||||||
|
libosmo-netif >1.2.0 OSMUX_DEFAULT_PORT
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
|
|
||||||
#include <osmocom/netif/osmux.h>
|
#include <osmocom/netif/osmux.h>
|
||||||
struct mgcp_conn_rtp;
|
struct mgcp_conn_rtp;
|
||||||
|
|
||||||
#define OSMUX_PORT 1984
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
OSMUX_ROLE_BSC = 0,
|
OSMUX_ROLE_BSC = 0,
|
||||||
OSMUX_ROLE_BSC_NAT,
|
OSMUX_ROLE_BSC_NAT,
|
||||||
|
|
|
@ -1734,7 +1734,7 @@ int mgcp_parse_config(const char *config_file, struct mgcp_config *cfg,
|
||||||
int rc;
|
int rc;
|
||||||
struct mgcp_trunk *trunk;
|
struct mgcp_trunk *trunk;
|
||||||
|
|
||||||
cfg->osmux_port = OSMUX_PORT;
|
cfg->osmux_port = OSMUX_DEFAULT_PORT;
|
||||||
cfg->osmux_batch = 4;
|
cfg->osmux_batch = 4;
|
||||||
cfg->osmux_batch_size = OSMUX_BATCH_DEFAULT_MAX;
|
cfg->osmux_batch_size = OSMUX_BATCH_DEFAULT_MAX;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue