aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_stp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-26 12:41:42 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-26 12:41:42 +0100
commit38d936a4458a707e6f68758054bde2bddc79d851 (patch)
treed0599fe71fd62c79b5f7c6e13f389332b73cb022 /src/main_stp.c
parentc5562bde48571ce4fa5a8edf8c1ae2e6f6a5ff6b (diff)
mtp: Assign a name to linkset, use this name in the log messages
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 6e080b5..45a89aa 100644
--- a/src/main_stp.c
+++ b/src/main_stp.c
@@ -253,6 +253,7 @@ int main(int argc, char **argv)
bsc.m2ua_set->ni = 3;
bsc.m2ua_set->bsc = &bsc;
bsc.m2ua_set->pcap_fd = bsc.pcap_fd;
+ bsc.m2ua_set->name = talloc_strdup(bsc.m2ua_set, "M2UA");
/* for both links we want to have all isup messages */
bsc.m2ua_set->pass_all_isup = 1;