provide software version information to gsup peer

Provide software version information to the GSUP peer. The version now
shows up in logs like this: Software_Version='osmo-msc-1.2.0.120-1263b'

Change-Id: I2eba32569349facdbb1fda201067c62cc804ccf4
Depends: I317d6c59f77e92fbb2b875a83dc0ec2fa5cb6006
Related: OS#3355
This commit is contained in:
Stefan Sperling 2018-12-06 13:16:24 +01:00 committed by Stefan Sperling
parent afa030d6f9
commit 36dedeeb12
1 changed files with 1 additions and 0 deletions

View File

@ -1835,6 +1835,7 @@ int msc_vlr_start(struct gsm_network *net)
ipa_dev = talloc_zero(net->vlr, struct ipaccess_unit);
ipa_dev->unit_name = "MSC";
ipa_dev->serno = net->msc_ipa_name; /* NULL unless configured via VTY */
ipa_dev->swversion = PACKAGE_NAME "-" PACKAGE_VERSION;
return vlr_start(ipa_dev, net->vlr, net->gsup_server_addr_str, net->gsup_server_port);
}