make sure to register NS protocol to the VTY

Without calling gprs_ns_vty_init(), the NS specific VTY commands are not
activated.
This commit is contained in:
Harald Welte 2013-01-11 09:45:17 +01:00
parent a23c7eee15
commit de5253a20f
1 changed files with 1 additions and 0 deletions

View File

@ -578,6 +578,7 @@ int gprs_bssgp_create(uint32_t sgsn_ip, uint16_t sgsn_port, uint16_t nsei,
LOGP(DBSSGP, LOGL_ERROR, "Failed to create NS instance\n");
return -EINVAL;
}
gprs_ns_vty_init(bssgp_nsi);
rc = gprs_ns_nsip_listen(bssgp_nsi);
if (rc < 0) {
LOGP(DBSSGP, LOGL_ERROR, "Failed to create socket\n");