Use Osmux default port define from libosmo-netif

Change-Id: Ibf5fbec591307232be98cad914c0df4b2993db15
Requires: libosmo-netif.git Ibfd058bceeeaa1384a00d8fcd6d6268b445e19bd
diff --git a/TODO-RELEASE b/TODO-RELEASE
index c5a3b36..746808e 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -24,3 +24,4 @@
 # If any interfaces have been removed or changed since the last public release, a=0.
 #
 #library		what		description / commit summary line
+libosmo-netif           >1.2.0          OSMUX_DEFAULT_PORT
diff --git a/include/osmocom/mgcp/osmux.h b/include/osmocom/mgcp/osmux.h
index 99b44d1..f138901 100644
--- a/include/osmocom/mgcp/osmux.h
+++ b/include/osmocom/mgcp/osmux.h
@@ -4,9 +4,6 @@
 
 #include <osmocom/netif/osmux.h>
 struct mgcp_conn_rtp;
-
-#define OSMUX_PORT	1984
-
 enum {
 	OSMUX_ROLE_BSC = 0,
 	OSMUX_ROLE_BSC_NAT,
diff --git a/src/libosmo-mgcp/mgcp_vty.c b/src/libosmo-mgcp/mgcp_vty.c
index a05733f..796db85 100644
--- a/src/libosmo-mgcp/mgcp_vty.c
+++ b/src/libosmo-mgcp/mgcp_vty.c
@@ -1734,7 +1734,7 @@
 	int rc;
 	struct mgcp_trunk *trunk;
 
-	cfg->osmux_port = OSMUX_PORT;
+	cfg->osmux_port = OSMUX_DEFAULT_PORT;
 	cfg->osmux_batch = 4;
 	cfg->osmux_batch_size = OSMUX_BATCH_DEFAULT_MAX;