mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
[GPRS] SGSN: Make sure libgtp timer doesn't segfault
This commit is contained in:
@@ -445,6 +445,7 @@ int sgsn_gtp_init(struct sgsn_instance *sgi)
|
||||
|
||||
/* Start GTP re-transmission timer */
|
||||
sgi->gtp_timer.cb = sgsn_gtp_tmr_cb;
|
||||
sgi->gtp_timer.data = sgi;
|
||||
sgsn_gtp_tmr_start(sgi);
|
||||
|
||||
/* Register callbackcs with libgtp */
|
||||
|
Reference in New Issue
Block a user