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/isup.c | |
parent | 9cf11bc1098671e06c7284babfa5a3327a40346e (diff) |
stp: Forward unhandled ISUP from one end to another
Diffstat (limited to 'src/isup.c')
-rw-r--r-- | src/isup.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ /* - * (C) 2010 by Holger Hans Peter Freyther <zecke@selfish.org> - * (C) 2010 by On-Waves + * (C) 2010-2011 by Holger Hans Peter Freyther <zecke@selfish.org> + * (C) 2010-2011 by On-Waves * All Rights Reserved * * This program is free software: you can redistribute it and/or modify @@ -109,7 +109,7 @@ static int handle_circuit_reset_grs(struct mtp_link_set *link, int sls, int cic, return 0; } -int mtp_link_set_forward_isup(struct mtp_link_set *link, struct msgb *msg, int sls) +int mtp_link_set_isup(struct mtp_link_set *link, struct msgb *msg, int sls) { int rc = -1; int payload_size; @@ -128,7 +128,8 @@ int mtp_link_set_forward_isup(struct mtp_link_set *link, struct msgb *msg, int s rc = handle_circuit_reset_grs(link, sls, hdr->cic, hdr->data, payload_size); break; default: - LOGP(DISUP, LOGL_NOTICE, "ISUP msg not handled: 0x%x\n", hdr->msg_type); + mtp_link_set_forward_isup(link, msg, sls); + rc = 0; break; } |