diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-13 23:52:01 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-13 23:55:32 +0200 |
commit | 19c530c5e7be14c518c8c0e65855c658b78d0146 (patch) | |
tree | 682d801b15fdfae5754021d13c0e92482cb151d1 /openbsc/src/bsc/osmo_bsc_msc.c | |
parent | 833fa0bafa0e541cdb3168d6d60732fef90b8372 (diff) |
ipaccess: Put our extensions to the protocol into the same enum
Rename NAT_IPAC_PROTO_MGCP to IPAC_PROTO_MGCP and place it in
the enum. We need to be prepared to change this number if IPA
is ever going to use it for something else.
Diffstat (limited to 'openbsc/src/bsc/osmo_bsc_msc.c')
-rw-r--r-- | openbsc/src/bsc/osmo_bsc_msc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/bsc/osmo_bsc_msc.c b/openbsc/src/bsc/osmo_bsc_msc.c index 66449827a..0bdb71fee 100644 --- a/openbsc/src/bsc/osmo_bsc_msc.c +++ b/openbsc/src/bsc/osmo_bsc_msc.c @@ -68,7 +68,7 @@ static int mgcp_do_read(struct bsc_fd *fd) } mgcp->l2h = msgb_put(mgcp, ret); - msc_queue_write(data->msc_con, mgcp, NAT_IPAC_PROTO_MGCP); + msc_queue_write(data->msc_con, mgcp, IPAC_PROTO_MGCP); return 0; } @@ -225,7 +225,7 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd) } } else if (hh->proto == IPAC_PROTO_SCCP) { sccp_system_incoming(msg); - } else if (hh->proto == NAT_IPAC_PROTO_MGCP) { + } else if (hh->proto == IPAC_PROTO_MGCP) { mgcp_forward(data, msg); } |