[GPRS] SGSN: Activate BSSGP VTY functions

This commit is contained in:
Harald Welte
2010-05-18 08:02:36 +02:00
parent 03800ba868
commit d2a9ed2285
2 changed files with 4 additions and 0 deletions

View File

@@ -194,4 +194,7 @@ static inline int bssgp_tlv_parse(struct tlv_parsed *tp, uint8_t *buf, int len)
return tlv_parse(tp, &tvlv_att_def, buf, len, 0, 0);
}
/* gprs_bssgp_vty.c */
int gprs_bssgp_vty_init(void);
#endif /* _GPRS_BSSGP_H */

View File

@@ -160,6 +160,7 @@ int main(int argc, char **argv)
}
bssgp_nsi = sgsn_inst.cfg.nsi = sgsn_nsi;
gprs_ns_vty_init(bssgp_nsi);
gprs_bssgp_vty_init();
/* FIXME: register signal handler for SS_NS */
rc = sgsn_parse_config(sgsn_inst.config_file, &sgsn_inst.cfg);