NS / GB Proxy: Add Signal in case Tns-Alive expires too often

The Gb Proxy can then restart the RESET procedure.
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index eac8d2c..d9639a4 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -488,6 +488,13 @@
 		nsvc->remote_end_is_sgsn = 1;
 	}
 
+	if (signal == S_NS_ALIVE_EXP && nsvc->remote_end_is_sgsn) {
+		LOGP(DGPRS, LOGL_NOTICE, "Tns alive expired too often, "
+			"re-starting RESET procedure\n");
+		nsip_connect(nsvc->nsi, &nsvc->ip.bts_addr, nsvc->nsei,
+			     nsvc->nsvci);
+	}
+
 	/* We currently only care about signals from the SGSN */
 	if (!nsvc->remote_end_is_sgsn)
 		return 0;