pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29029 )
Change subject: osmux.h: Define default Osmux port ......................................................................
osmux.h: Define default Osmux port
This has been the port being used historically in most osmux setups, and projects using osmux.h have it defined locally. Let's define it here so that there's no need to define it on each client.
Change-Id: Ibfd058bceeeaa1384a00d8fcd6d6268b445e19bd --- M include/osmocom/netif/osmux.h 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, but someone else must approve pespin: Looks good to me, approved
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h index ed5c1ab..ff537c0 100644 --- a/include/osmocom/netif/osmux.h +++ b/include/osmocom/netif/osmux.h @@ -13,6 +13,8 @@ * Osmocom multiplex protocol helpers */
+#define OSMUX_DEFAULT_PORT 1984 + /* OSmux header: * * rtp_m (1 bit): RTP M field (RFC3550, RFC4867)