summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-12-20 02:26:44 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-20 10:57:19 +0000
commit58a5665ecb72b2b4e2a9e33dde83d12060c41b4a (patch)
tree0cfc3d5a51007066fe91f57e8ab1a4e62d7cdc3b /include/osmocom
parent554f7b8a773b3cffd74707c18172366ab45ea306 (diff)
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
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/ctrl/ports.h1
-rw-r--r--include/osmocom/vty/ports.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/ctrl/ports.h b/include/osmocom/ctrl/ports.h
index f974daf4..4e931901 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 ff0b58ce..4819b87b 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. */