summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmgcp/mgcp_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libmgcp/mgcp_vty.c')
-rw-r--r--openbsc/src/libmgcp/mgcp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmgcp/mgcp_vty.c b/openbsc/src/libmgcp/mgcp_vty.c
index fc91ebcc8..e40e4d5b4 100644
--- a/openbsc/src/libmgcp/mgcp_vty.c
+++ b/openbsc/src/libmgcp/mgcp_vty.c
@@ -1507,7 +1507,7 @@ DEFUN(cfg_osmux_ip,
{
struct osmux_config *cfg = vty->index;
- osmo_talloc_replace_string(cfg, &cfg->osmux_addr, argv[0]);
+ osmo_talloc_replace_string(NULL, &cfg->osmux_addr, argv[0]);
return CMD_SUCCESS;
}