diff options
Diffstat (limited to 'src/main_stp.c')
-rw-r--r-- | src/main_stp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main_stp.c b/src/main_stp.c index a9fc618..e6d049c 100644 --- a/src/main_stp.c +++ b/src/main_stp.c @@ -34,6 +34,8 @@ #include <osmocore/talloc.h> +#include <osmocom/sccp/sccp.h> + #include <osmocom/vty/vty.h> #include <osmocom/vty/telnet_interface.h> @@ -90,7 +92,7 @@ static void sigint() printf("Terminating.\n"); handled = 1; - if (bsc && bsc->setup) { + if (bsc) { llist_for_each_entry(set, &bsc->linksets, entry) link_shutdown_all(set); } @@ -308,7 +310,6 @@ int main(int argc, char **argv) bsc = bsc_data_create(); if (!bsc) return -1; - bsc->app = APP_STP; handle_options(argc, argv); |