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
This commit is contained in:
parent
6240465503
commit
649c335602
|
@ -102,6 +102,8 @@ static int config_write_hlr_gsup(struct vty *vty)
|
||||||
vty_out(vty, " gsup%s", VTY_NEWLINE);
|
vty_out(vty, " gsup%s", VTY_NEWLINE);
|
||||||
if (g_hlr->gsup_bind_addr)
|
if (g_hlr->gsup_bind_addr)
|
||||||
vty_out(vty, " bind ip %s%s", g_hlr->gsup_bind_addr, VTY_NEWLINE);
|
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;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -107,6 +107,7 @@ hlr
|
||||||
database hlr_vty_test.db
|
database hlr_vty_test.db
|
||||||
gsup
|
gsup
|
||||||
bind ip 127.0.0.1
|
bind ip 127.0.0.1
|
||||||
|
ipa-name unnamed-HLR
|
||||||
ussd route prefix *#100# internal own-msisdn
|
ussd route prefix *#100# internal own-msisdn
|
||||||
ussd route prefix *#101# internal own-imsi
|
ussd route prefix *#101# internal own-imsi
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue