From 5695f4b0718ea1ba0f6922826bb97f030506fd58 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 7 Nov 2018 12:18:25 +0100 Subject: Make IP address helper accessible via header file Change-Id: I4bc157bf296e28678de6d9c9823f91810132a58c --- include/osmocom/bsc/abis_rsl.h | 2 ++ src/osmo-bsc/abis_rsl.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/osmocom/bsc/abis_rsl.h b/include/osmocom/bsc/abis_rsl.h index 886e7d604..ba446690b 100644 --- a/include/osmocom/bsc/abis_rsl.h +++ b/include/osmocom/bsc/abis_rsl.h @@ -35,6 +35,8 @@ struct gsm_bts_trx_ts; #define GSM48_LEN2PLEN(a) (((a) << 2) | 1) +const char *ip_to_a(uint32_t ip); + int rsl_bcch_info(const struct gsm_bts_trx *trx, enum osmo_sysinfo_type si_type, const uint8_t *data, int len); int rsl_sacch_filling(struct gsm_bts_trx *trx, uint8_t type, const uint8_t *data, int len); diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c index b86780d7d..2eda884eb 100644 --- a/src/osmo-bsc/abis_rsl.c +++ b/src/osmo-bsc/abis_rsl.c @@ -1770,7 +1770,7 @@ int ipacc_payload_type(enum gsm48_chan_mode tch_mode, enum gsm_chan_t type) return -EINVAL; } -static const char *ip_to_a(uint32_t ip) +const char *ip_to_a(uint32_t ip) { struct in_addr ia; ia.s_addr = htonl(ip); -- cgit v1.2.3