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
changes/31/25131/2
Oliver Smith 1 year ago
parent 22f3d95ac9
commit eedd83c113
  1. 4
      include/osmo-pcap/common.h
  2. 4
      osmoappdesc.py

@ -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 {

@ -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"]

Loading…
Cancel
Save