Correct configuration written from vty
osmo-hlr would not read back written configuration due to
bad indentation in the mslookup->server->service section.
Also ipa-name was missing.
Change-Id: Ied4b9504f06a51c3895054a8b9d07a67eda3aeeb
diff --git a/src/dgsm_vty.c b/src/dgsm_vty.c
index 6f29d3b..00a60ea 100644
--- a/src/dgsm_vty.c
+++ b/src/dgsm_vty.c
@@ -442,7 +442,7 @@
msc = mslookup_server_msc_get(&mslookup_server_msc_wildcard, false);
if (msc)
- config_write_msc_services(vty, " ", msc);
+ config_write_msc_services(vty, " ", msc);
llist_for_each_entry(msc, &g_hlr->mslookup.server.local_site_services, entry) {
if (!osmo_ipa_name_cmp(&mslookup_server_msc_wildcard, &msc->name))
diff --git a/src/hlr_vty.c b/src/hlr_vty.c
index 4b91aa9..df2270b 100644
--- a/src/hlr_vty.c
+++ b/src/hlr_vty.c
@@ -102,6 +102,8 @@
vty_out(vty, " gsup%s", VTY_NEWLINE);
if (g_hlr->gsup_bind_addr)
vty_out(vty, " bind ip %s%s", g_hlr->gsup_bind_addr, VTY_NEWLINE);
+ if (g_hlr->gsup_unit_name.serno)
+ vty_out(vty, " ipa-name %s%s", g_hlr->gsup_unit_name.serno, VTY_NEWLINE);
return CMD_SUCCESS;
}