aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-28 21:22:32 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-29 02:10:12 +0100
commitbc6b8fbd0839f89ce55672e19b0581dabad7853e (patch)
tree6051f32beb6299598dd1d9779556d6d8e279895b /include/osmocom
parente5eb6d4ffd862b14858b28cc2b705c7c64836924 (diff)
fix vlr ops.subscr_assoc re-associationneels/35c335c3
In rare cases, a conn is already associated with a subscriber. So far, we abort()ed on that. Rather log an error and keep the service running. Related: OS#3743 Change-Id: Ic0d54644bc735700220b1ef3a4384c217d57d20f
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/msc/vlr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/msc/vlr.h b/include/osmocom/msc/vlr.h
index 27c72ef4e..029ef3190 100644
--- a/include/osmocom/msc/vlr.h
+++ b/include/osmocom/msc/vlr.h
@@ -235,7 +235,7 @@ struct vlr_ops {
void (*subscr_update)(struct vlr_subscr *vsub);
/* notify MSC/SGSN that the given subscriber has been associated
* with this msc_conn_ref */
- void (*subscr_assoc)(void *msc_conn_ref, struct vlr_subscr *vsub);
+ int (*subscr_assoc)(void *msc_conn_ref, struct vlr_subscr *vsub);
/* Forward a parsed GSUP message towards MSC message router */
int (*forward_gsup_msg)(struct vlr_subscr *vsub, struct osmo_gsup_message *gsup_msg);