projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef81bf8
)
layer23: Corrected PLMN format when selecting RPLMN via VTY.
author
Andreas.Eversberg
<jolly@eversberg.eu>
Thu, 24 Jun 2010 18:41:39 +0000
(18:41 +0000)
committer
Andreas.Eversberg
<jolly@eversberg.eu>
Thu, 24 Jun 2010 18:41:39 +0000
(18:41 +0000)
src/host/layer23/src/vty_interface.c
patch
|
blob
|
history
diff --git
a/src/host/layer23/src/vty_interface.c
b/src/host/layer23/src/vty_interface.c
index
794ead0
..
3f6baff
100644
(file)
--- a/
src/host/layer23/src/vty_interface.c
+++ b/
src/host/layer23/src/vty_interface.c
@@
-548,8
+548,10
@@
static void config_write_ms_single(struct vty *vty, struct osmocom_ms *ms)
vty_out(vty, " %sbarred-access%s", (set->test_barr) ? "" : "no ",
VTY_NEWLINE);
if (ms->settings.test_rplmn_valid)
- vty_out(vty, " rplmn %03d %02d%s", ms->settings.test_rplmn_mcc,
- ms->settings.test_rplmn_mnc, VTY_NEWLINE);
+ vty_out(vty, " rplmn %s %s%s",
+ gsm_print_mcc(ms->settings.test_rplmn_mcc),
+ gsm_print_mnc(ms->settings.test_rplmn_mnc),
+ VTY_NEWLINE);
else
vty_out(vty, " no rplmn%s", VTY_NEWLINE);
vty_out(vty, " hplmn-search %s%s", (set->test_always) ? "everywhere"