vty: allow A5/4 encryption in config
Add A5/4 to the internal mask of allowed algorithms.
(Not actually working yet, A5/4 implementation follows in other
patches.)
Related: SYS#5324
Change-Id: I5b46aaa8579f8d069ca39caf996a8795ffe63dd7
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index 7b111b1..2a4dbbb 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -151,12 +151,13 @@
DEFUN(cfg_net_encryption,
cfg_net_encryption_cmd,
- "encryption a5 <0-3> [<0-3>] [<0-3>] [<0-3>]",
+ "encryption a5 <0-4> [<0-4>] [<0-4>] [<0-4>] [<0-4>]",
ENCRYPTION_STR
"GSM A5 Air Interface Encryption.\n"
"A5/n Algorithm Number\n"
"A5/n Algorithm Number\n"
"A5/n Algorithm Number\n"
+ "A5/n Algorithm Number\n"
"A5/n Algorithm Number\n")
{
unsigned int i;