[MERGED] libosmocore[master]: ports: define proper VTY and CTRL ports for OsmoHNBGW

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Dec 20 10:57:20 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: ports: define proper VTY and CTRL ports for OsmoHNBGW
......................................................................


ports: define proper VTY and CTRL ports for OsmoHNBGW

So far it uses 2323, a development default. Instead, assign new ports,
appending to the common range of VTY and CTRL ports: 4261 and 4262.

Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Port_Numbers
Related: I28bd7a97d24455f88fadc6724d45c3264ba2fce4 (osmo-gsm-manuals)
Change-Id: Ife52a968a41cb286f640006587877971ff66c1a4
---
M include/osmocom/ctrl/ports.h
M include/osmocom/vty/ports.h
2 files changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/ctrl/ports.h b/include/osmocom/ctrl/ports.h
index f974daf..4e93190 100644
--- a/include/osmocom/ctrl/ports.h
+++ b/include/osmocom/ctrl/ports.h
@@ -17,4 +17,5 @@
 /* 4256 used by VTY interface */
 #define OSMO_CTRL_PORT_GGSN	4257
 #define OSMO_CTRL_PORT_HLR	4259
+#define OSMO_CTRL_PORT_HNBGW	4262
 /* When adding/changing port numbers, keep docs and wiki in sync. See above. */
diff --git a/include/osmocom/vty/ports.h b/include/osmocom/vty/ports.h
index ff0b58c..4819b87 100644
--- a/include/osmocom/vty/ports.h
+++ b/include/osmocom/vty/ports.h
@@ -29,4 +29,6 @@
 #define OSMO_VTY_PORT_HLR	4258
 /* 4259 used by control interface */
 #define OSMO_VTY_PORT_GGSN	4260
+#define OSMO_VTY_PORT_HNBGW	4261
+/* 4262 used by control interface */
 /* When adding/changing port numbers, keep docs and wiki in sync. See above. */

-- 
To view, visit https://gerrit.osmocom.org/5520
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ife52a968a41cb286f640006587877971ff66c1a4
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list