diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-17 16:13:28 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-20 11:37:50 +0100 |
commit | 1b6901ec4ae3effd0b017b2cbdb32b17646d3bc9 (patch) | |
tree | e040a4d485f155371d770b9bd7d5197b7da06ac4 /src/main_stp.c | |
parent | 9cf11bc1098671e06c7284babfa5a3327a40346e (diff) |
stp: Forward unhandled ISUP from one end to another
Diffstat (limited to 'src/main_stp.c')
-rw-r--r-- | src/main_stp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main_stp.c b/src/main_stp.c index c038b2b..fb10ea3 100644 --- a/src/main_stp.c +++ b/src/main_stp.c @@ -75,6 +75,14 @@ void mtp_link_set_forward_sccp(struct mtp_link_set *link, struct msgb *_msg, int mtp_link_set_submit_sccp_data(target, sls, _msg->l2h, msgb_l2len(_msg)); } +void mtp_link_set_forward_isup(struct mtp_link_set *set, struct msgb *msg, int sls) +{ + struct mtp_link_set *target; + + target = bsc.m2ua_set == set ? bsc.link_set : bsc.m2ua_set; + mtp_link_set_submit_isup_data(target, sls, msg->l3h, msgb_l3len(msg)); +} + void mtp_linkset_down(struct mtp_link_set *set) { set->available = 0; |