diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-08-20 15:15:50 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-08-20 17:24:03 +0200 |
commit | c390ae8eaf0fd505ae1138b356358e0bcfe13e61 (patch) | |
tree | d4df73bf6d1555cfa729144cf73cb1d353e1f754 /openbsc/include/openbsc/mgcp.h | |
parent | e6ed009a36d410fc0cbac7a82d92313bd6d4c084 (diff) |
mgcp: Allow to bind to different ports for net/bts ports
When using multiple interfaces on a system one can now configure
which will be served for the BTS ports and which will be served
for the network. The direct usage of source_addr is now only to
initialize the MGCP receiving port itself.
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index 9befa7c7e..aebcda357 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -117,6 +117,9 @@ typedef void (*mgcp_get_format)(struct mgcp_endpoint *endp, struct mgcp_port_range { int mode; + /* addr or NULL to fall-back to default */ + char *bind_addr; + /* pre-allocated from a base? */ int base_port; |