Replace own timer infra with libosmocore osmo_tdef
VTY command "show timer" is also available now. Change-Id: Ia0cf5f0a49737fbc419e2ccc86312d01c6e0056e
This commit is contained in:
parent
089d2c1194
commit
1b8364d0b5
|
@ -37,6 +37,7 @@
|
|||
#include <osmocom/core/msgb.h>
|
||||
#include <osmocom/core/rate_ctr.h>
|
||||
#include <osmocom/core/utils.h>
|
||||
#include <osmocom/vty/vty.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -1646,6 +1647,10 @@ static struct log_info info = {
|
|||
.num_cat = ARRAY_SIZE(gprs_categories),
|
||||
};
|
||||
|
||||
static struct vty_app_info vty_info = {
|
||||
.name = "testSGSN",
|
||||
};
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
void *osmo_sgsn_ctx;
|
||||
|
@ -1659,6 +1664,8 @@ int main(int argc, char **argv)
|
|||
sgsn_rate_ctr_init();
|
||||
sgsn_auth_init(sgsn);
|
||||
gprs_subscr_init(sgsn);
|
||||
vty_init(&vty_info);
|
||||
sgsn_vty_init(&sgsn->cfg);
|
||||
|
||||
test_llme();
|
||||
test_subscriber();
|
||||
|
|
Loading…
Reference in New Issue