aboutsummaryrefslogtreecommitdiffstats
path: root/src/isup.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 20:21:45 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-20 11:37:50 +0100
commitefbd8c2e807818686fb51d8f0bffb28ce917e02a (patch)
tree0cef33f8ad8a14b45d6b61c56a50394037d2038c /src/isup.c
parent1b6901ec4ae3effd0b017b2cbdb32b17646d3bc9 (diff)
stp: Allow to forward all ISUP messages without any modification
Diffstat (limited to 'src/isup.c')
-rw-r--r--src/isup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/isup.c b/src/isup.c
index 33f1fdb..6e9e359 100644
--- a/src/isup.c
+++ b/src/isup.c
@@ -120,6 +120,11 @@ int mtp_link_set_isup(struct mtp_link_set *link, struct msgb *msg, int sls)
return -1;
}
+ if (link->pass_all_isup) {
+ mtp_link_set_forward_isup(link, msg, sls);
+ return 0;
+ }
+
hdr = (struct isup_msg_hdr *) msg->l3h;
payload_size = msgb_l3len(msg) - sizeof(*hdr);