[GPRS] SGSN: exit() if we cannot bind to the GTP address

This commit is contained in:
Harald Welte
2010-05-18 14:44:31 +02:00
parent 3c0b9b9c2a
commit 269ae75321

View File

@@ -174,6 +174,9 @@ int main(int argc, char **argv)
}
rc = sgsn_gtp_init(&sgsn_inst);
if (rc)
exit(2);
nsip_listen(sgsn_nsi, sgsn_inst.cfg.nsip_listen_port);
_ggsn.gtp_version = 1;