Max has uploaded this change for review. ( https://gerrit.osmocom.org/11650


Change subject: Make IP address helper accessible via header file
......................................................................

Make IP address helper accessible via header file

Change-Id: I4bc157bf296e28678de6d9c9823f91810132a58c
---
M include/osmocom/bsc/abis_rsl.h
M src/osmo-bsc/abis_rsl.c
2 files changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/50/11650/1

diff --git a/include/osmocom/bsc/abis_rsl.h b/include/osmocom/bsc/abis_rsl.h
index 886e7d6..ba44669 100644
--- a/include/osmocom/bsc/abis_rsl.h
+++ b/include/osmocom/bsc/abis_rsl.h
@@ -35,6 +35,8 @@

 #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 b86780d..2eda884 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -1770,7 +1770,7 @@
        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);

--
To view, visit https://gerrit.osmocom.org/11650
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4bc157bf296e28678de6d9c9823f91810132a58c
Gerrit-Change-Number: 11650
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msur...@sysmocom.de>

Reply via email to