<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/25128">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty/ports: move pcap server/client ports<br><br>Resolve conflict with other Osmocom software by moving ports:<br><br>osmo-pcap-client 4237 -> 4227<br>osmo-pcap-server 4238 -> 4228<br><br>Remove wrong previous comments that claimed 4240 and 4241 were used.<br><br>Related: OS#5203<br>Related: osmo-pcap I3b18b1fbbca2799f868f28104e2f5d513f93d46c<br>Change-Id: I098f211370bba61995ce424ab64029bdd4c49e2d<br>---<br>M include/osmocom/vty/ports.h<br>1 file changed, 24 insertions(+), 22 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/28/25128/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/vty/ports.h b/include/osmocom/vty/ports.h</span><br><span>index b3550d1..580e642 100644</span><br><span>--- a/include/osmocom/vty/ports.h</span><br><span>+++ b/include/osmocom/vty/ports.h</span><br><span>@@ -8,33 +8,35 @@</span><br><span> </span><br><span> #pragma once</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_PCAP_CLIENT  4227</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_PCAP_SERVER 4228</span><br><span> /* 4236 used by control interface */</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_TRX   4237</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_TRX         4237</span><br><span> /* 4238 used by osmo-bts control interface */</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_STP  4239</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_PCU   4240    /* also: osmo_pcap_client */</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_BTS   4241    /* also: osmo_pcap_server */</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_NITB_BSC      4242</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_BSC_MGCP      4243</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_MGW   OSMO_VTY_PORT_BSC_MGCP</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_BSC_NAT     4244</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_SGSN  4245</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_GBPROXY       4246</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_BB    4247</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_STP         4239</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_PCU         4240</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_BTS         4241</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_NITB_BSC            4242</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_BSC_MGCP            4243</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_MGW         OSMO_VTY_PORT_BSC_MGCP</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_BSC_NAT           4244</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_SGSN                4245</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_GBPROXY             4246</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_BB          4247</span><br><span> /* 4249-4251 used by control interface */</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_BTSMGR   4252</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_GTPHUB        4253</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_MSC   4254</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_BTSMGR              4252</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_GTPHUB              4253</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_MSC         4254</span><br><span> /* 4255 used by control interface */</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_MNCC_SIP      4256</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_MNCC_SIP            4256</span><br><span> /* 4257 used by control interface */</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_HLR   4258</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_HLR         4258</span><br><span> /* 4259 used by control interface */</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_GGSN  4260</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_HNBGW 4261</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_GGSN                4260</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_HNBGW               4261</span><br><span> /* 4262-4263 used by control interface */</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_CBC      4264</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_UECUPS        4268</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_E1D   4269</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMO_VTY_PORT_SMLC  4271</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_CBC         4264</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_UECUPS              4268</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_E1D         4269</span><br><span style="color: hsl(120, 100%, 40%);">+#define OSMO_VTY_PORT_SMLC                4271</span><br><span> /* When adding/changing port numbers, keep docs and wiki in sync. See above. */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/25128">change 25128</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/25128"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I098f211370bba61995ce424ab64029bdd4c49e2d </div>
<div style="display:none"> Gerrit-Change-Number: 25128 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>