diff options
-rw-r--r-- | src/common/abis.c | 3 | ||||
-rw-r--r-- | src/osmo-bts-sysmo/main.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/common/abis.c b/src/common/abis.c index fbd5398e..92051f08 100644 --- a/src/common/abis.c +++ b/src/common/abis.c @@ -43,7 +43,6 @@ #include <osmo-bts/rsl.h> #include <osmo-bts/oml.h> -extern char *software_version; extern uint8_t abis_mac[6]; /* @@ -174,7 +173,7 @@ static int abis_rx_ipa_id_get(struct ipabis_link *link, uint8_t *data, int len) break; case IPAC_IDTAG_EQUIPVERS: case IPAC_IDTAG_SWVERSION: - strcpy(str, software_version); + strcpy(str, PACKAGE_VERSION); break; case IPAC_IDTAG_UNITNAME: sprintf(str, "osmoBTS-%02x-%02x-%02x-%02x-%02x-%02x", diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c index 1dcc8d39..03db2382 100644 --- a/src/osmo-bts-sysmo/main.c +++ b/src/osmo-bts-sysmo/main.c @@ -50,8 +50,6 @@ /* FIXME: read from real hardware */ const uint8_t abis_mac[6] = { 0,1,2,3,4,5 }; -/* FIXME: generate from git */ -const char *software_version = "0815"; static const char *config_file = "osmo-bts.cfg"; static int daemonize = 0; |