diff options
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 2 | ||||
-rw-r--r-- | openbsc/include/openbsc/mgcp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 0531d6e0c..3d240c125 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -260,7 +260,7 @@ struct bsc_nat { int bsc_ip_dscp; /* MGCP config */ - struct llist_head mgcp_cfgs; + struct llist_head *mgcp_cfgs; uint8_t mgcp_msg[4096]; int mgcp_length; int mgcp_ipa; diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index cdc6f033c..dbb9ff1ee 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -243,7 +243,7 @@ struct mgcp_config { /* config management */ struct mgcp_config *mgcp_config_alloc(void); struct mgcp_config *mgcp_config_by_num(struct llist_head *configs, int index); -int mgcp_parse_config(const char *config_file, struct llist_head *cfg, +int mgcp_parse_config(const char *config_file, struct llist_head **cfg, enum mgcp_role role); int mgcp_vty_init(void); int mgcp_endpoints_allocate(struct mgcp_trunk_config *cfg); |