Change in osmo-hlr[master]: USSD: Fix "ussd default-route"

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Aug 8 06:59:15 UTC 2018


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/10400


Change subject: USSD: Fix "ussd default-route"
......................................................................

USSD: Fix "ussd default-route"

Before this patch, the default route logic was not implemented.  The
user could specify a default-route, but it wouldn't be used by the
actual routing logic.  Let's fix that.

Change-Id: I0b04a75dc297f088f13da413d08c52e0747e46e6
---
M src/hlr_ussd.c
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/00/10400/1

diff --git a/src/hlr_ussd.c b/src/hlr_ussd.c
index 4ec9825..c96f47c 100644
--- a/src/hlr_ussd.c
+++ b/src/hlr_ussd.c
@@ -507,6 +507,11 @@
 						ss->is_external = false;
 						ss->u.iuse = rt->u.iuse;
 					}
+				} else {
+					if (hlr->euse_default) {
+						ss->is_external = true;
+						ss->u.euse = hlr->euse_default;
+					}
 				}
 			}
 			/* dispatch unstructured SS to routing */

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

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b04a75dc297f088f13da413d08c52e0747e46e6
Gerrit-Change-Number: 10400
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180808/8a12a830/attachment.htm>


More information about the gerrit-log mailing list