aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_stp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-22 16:34:16 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-22 16:34:16 +0100
commita310e532438196778b554132d69e78da933aaa81 (patch)
tree8790698cc402eec776862f2c037c04d9e36cae1e /src/main_stp.c
parentfbfe8eb81de7900a5241528ca4087be8211bd259 (diff)
vty: Classify the application that we run and provide different options
The VTY interface is used for three different application and not every option will make sense for every app. In the long run we will split the vty interface but for now we just qualify the application.
Diffstat (limited to 'src/main_stp.c')
-rw-r--r--src/main_stp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main_stp.c b/src/main_stp.c
index 36e04d6..328eabe 100644
--- a/src/main_stp.c
+++ b/src/main_stp.c
@@ -184,6 +184,7 @@ int main(int argc, char **argv)
struct mtp_m2ua_link *lnk;
INIT_LLIST_HEAD(&bsc.sccp_connections);
+ bsc.app = APP_STP;
bsc.dpc = 1;
bsc.opc = 0;
bsc.sccp_opc = -1;