Change in osmo-msc[master]: provide software version information to gsup peer

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Thu Dec 6 17:13:39 UTC 2018


Stefan Sperling has uploaded this change for review. ( https://gerrit.osmocom.org/12178


Change subject: provide software version information to gsup peer
......................................................................

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
Related: OS#3355
---
M src/libmsc/gsm_04_08.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/78/12178/1

diff --git a/src/libmsc/gsm_04_08.c b/src/libmsc/gsm_04_08.c
index 83eb22c..d36d975 100644
--- a/src/libmsc/gsm_04_08.c
+++ b/src/libmsc/gsm_04_08.c
@@ -1834,6 +1834,7 @@
 	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_start2(ipa_dev, net->vlr, net->gsup_server_addr_str,
 			  net->gsup_server_port);

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2eba32569349facdbb1fda201067c62cc804ccf4
Gerrit-Change-Number: 12178
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Sperling <stsp at stsp.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181206/8bff5a5b/attachment.htm>


More information about the gerrit-log mailing list