diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-03-19 08:31:34 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-03-19 08:31:34 +0100 |
commit | 831726aa32e3d65a5d86fe33dad32f2d599c6f11 (patch) | |
tree | 1df37a2f4101f34569c3b4f0e7422690c6501bda /src/ss7_application.c | |
parent | f8055f93b13936ece45a64252e177edc17f53e23 (diff) |
link_sets: Move the submit for SCCP/ISUP into a function pointerzecke/multiple-link-set-types
In the preparation of supporting multiple link_sets types the
send routines are accessed through function pointers now.
Diffstat (limited to 'src/ss7_application.c')
-rw-r--r-- | src/ss7_application.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ss7_application.c b/src/ss7_application.c index 49f005d..cdb100f 100644 --- a/src/ss7_application.c +++ b/src/ss7_application.c @@ -38,7 +38,7 @@ static void forward_sccp_stp(struct mtp_link_set *set, struct msgb *_msg, int sl struct mtp_link_set *other; other = set->app->route_src.set == set ? set->app->route_dst.set : set->app->route_src.set; - mtp_link_set_submit_sccp_data(other, sls, _msg->l2h, msgb_l2len(_msg)); + set->submit_sccp(other, sls, _msg->l2h, msgb_l2len(_msg)); } static void forward_isup_stp(struct mtp_link_set *set, struct msgb *msg, int sls) @@ -47,7 +47,7 @@ static void forward_isup_stp(struct mtp_link_set *set, struct msgb *msg, int sls other = set->app->route_src.set == set ? set->app->route_dst.set : set->app->route_src.set; isup_scan_for_reset(set->app, msg); - mtp_link_set_submit_isup_data(other, sls, msg->l3h, msgb_l3len(msg)); + set->submit_isup(other, sls, msg->l3h, msgb_l3len(msg)); } static void on_link_set_sccp(struct mtp_link_set *set, struct msgb *_msg, int sls) |