aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-06-03 01:52:13 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-06-08 01:08:03 +0200
commit75c84a7ed65438c2d270a24cf3b7c5593513cf62 (patch)
tree88b49b2f1e66842e4bd0d125252949a9700ff65b
parent727d96058af73347414e026de8042c39682bbe23 (diff)
vty: allow to use IPv6 in oml/rtp ip bindslynxis/ipv6
-rw-r--r--src/common/vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index 1d74b367..3c3981ab 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -429,7 +429,7 @@ DEFUN(cfg_bts_band,
DEFUN(cfg_bts_oml_ip,
cfg_bts_oml_ip_cmd,
- "oml remote-ip A.B.C.D",
+ "oml remote-ip " CMD_IPV46,
"OML Parameters\n" "OML IP Address\n" "OML IP Address\n")
{
struct gsm_bts *bts = vty->index;
@@ -446,7 +446,7 @@ DEFUN(cfg_bts_oml_ip,
DEFUN_DEPRECATED(cfg_bts_rtp_bind_ip,
cfg_bts_rtp_bind_ip_cmd,
- "rtp bind-ip A.B.C.D",
+ "rtp bind-ip " CMD_IPV46,
RTP_STR "RTP local bind IP Address\n" "RTP local bind IP Address\n")
{
vty_out(vty, "%% rtp bind-ip is now deprecated%s", VTY_NEWLINE);