aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/oml_router.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-07-31 17:43:08 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-07-31 17:43:08 +0200
commitcaca1899ce5ea5fd8e32c3ea93961a6156531a6c (patch)
tree65fa12568572da2601b7eaaebd4deabfb96d7616 /src/osmo-bts-sysmo/oml_router.h
parentfcdfb690ca68fcac64ac19ada3680832d45c8469 (diff)
sysmobts: Make sure that the omlrouter is in a FHS path
I wondered if I should use the 'abstract namespace' feature of Linux but just put the router into /var/run/ to make it work out of the box. Change the signature to provide a sane error message.
Diffstat (limited to 'src/osmo-bts-sysmo/oml_router.h')
-rw-r--r--src/osmo-bts-sysmo/oml_router.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/oml_router.h b/src/osmo-bts-sysmo/oml_router.h
index f8fe4c95..55f0681d 100644
--- a/src/osmo-bts-sysmo/oml_router.h
+++ b/src/osmo-bts-sysmo/oml_router.h
@@ -7,7 +7,7 @@ struct osmo_fd;
* The default path sysmobts will listen for incoming
* registrations for OML routing and sending.
*/
-#define OML_ROUTER_PATH "/var/run/sysmobts/oml_router"
+#define OML_ROUTER_PATH "/var/run/sysmobts_oml_router"
-int oml_router_init(struct gsm_bts *bts, struct osmo_fd *accept, struct osmo_fd *read);
+int oml_router_init(struct gsm_bts *bts, const char *path, struct osmo_fd *accept, struct osmo_fd *read);