Change in ...osmo-msc[master]: vty: fix access to wrong argv in paging response-timer

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/.

neels gerrit-no-reply at lists.osmocom.org
Mon Sep 16 17:11:20 UTC 2019


neels has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-msc/+/15545 )

Change subject: vty: fix access to wrong argv in paging response-timer
......................................................................

vty: fix access to wrong argv in paging response-timer

Fixes: 2ff5bcdc387a7eb5135e5a54d55027502952c86b
Change-Id: I667cf4c8e3e7b6e77ea6ed8ae603727ad22a2ee2
---
M src/libmsc/msc_vty.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  neels: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index 09aef91..51504ef 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -557,7 +557,7 @@
       "Set to default timeout (" OSMO_STRINGIFY_VAL(MSC_PAGING_RESPONSE_TIMER_DEFAULT) " seconds)\n"
       "Set paging timeout in seconds\n")
 {
-	if (!strcmp(argv[1], "default"))
+	if (!strcmp(argv[0], "default"))
 		gsmnet->paging_response_timer = MSC_PAGING_RESPONSE_TIMER_DEFAULT;
 	else
 		gsmnet->paging_response_timer = atoi(argv[0]);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/15545
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I667cf4c8e3e7b6e77ea6ed8ae603727ad22a2ee2
Gerrit-Change-Number: 15545
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190916/14cd51fb/attachment.htm>


More information about the gerrit-log mailing list