Change default ports of client, server

Resolve conflict with other Osmocom software by moving ports:

osmo-pcap-client 4237 -> 4227
osmo-pcap-server 4238 -> 4228

Notably the defines OSMO_VTY_PORT_PCAP_CLIENT and _SERVER are currently
not provided by libosmocore, but will be added with the related commit.

Related: OS#5203
Related: libosmocore I098f211370bba61995ce424ab64029bdd4c49e2d
Change-Id: I3b18b1fbbca2799f868f28104e2f5d513f93d46c
This commit is contained in:
Oliver Smith 2021-08-05 18:54:19 +02:00
parent 22f3d95ac9
commit eedd83c113
2 changed files with 4 additions and 4 deletions

View File

@ -32,10 +32,10 @@
/* support old versions of libosmocore */
#ifndef OSMO_VTY_PORT_PCAP_CLIENT
#define OSMO_VTY_PORT_PCAP_CLIENT 4237
#define OSMO_VTY_PORT_PCAP_CLIENT 4227
#endif
#ifndef OSMO_VTY_PORT_PCAP_SERVER
#define OSMO_VTY_PORT_PCAP_SERVER 4238
#define OSMO_VTY_PORT_PCAP_SERVER 4228
#endif
enum {

View File

@ -22,8 +22,8 @@ app_configs = {
}
apps = [
(4238, "src/osmo-pcap-server", "OsmoPCAPServer", "osmo-pcap-server"),
(4237, "src/osmo-pcap-client", "OsmoPCAPClient", "osmo-pcap-client"),
(4228, "src/osmo-pcap-server", "OsmoPCAPServer", "osmo-pcap-server"),
(4227, "src/osmo-pcap-client", "OsmoPCAPClient", "osmo-pcap-client"),
]
vty_command = ["src/osmo-pcap-server", "-c", "doc/examples/osmo-pcap-server/osmo-pcap-server.cfg"]