aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/abis.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-06-03 11:47:42 +0200
committerHarald Welte <laforge@gnumonks.org>2012-06-03 11:47:42 +0200
commit0455e51cd528ba14b11248a7e722f0c05a7bc2eb (patch)
tree4b84915c8facaca1c0e5a6b484d1c2c0267a0cbd /src/common/abis.c
parentad09615acbc9ca3e6804780ff5641448067613c1 (diff)
Use git-generated PACKAGE_VERSION in IPA IDTAG_SWVERSION
We previously used to send the bogus string "0815" which was a hack from early development time, but is obviously not a generally useful idea.
Diffstat (limited to 'src/common/abis.c')
-rw-r--r--src/common/abis.c3
1 files changed, 1 insertions, 2 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",