remove unused VTY command "location updating reject cause"
OsmoMSC is using whatever reject cause is apropriate in the given situation. This user-configurable reject cause only had relevance in OsmoNITB, and hence it is an unused parameter that can be removed in OsmoMSC. Related: OS#2528 Change-Id: Ie1f39e706477aaf42051877b52d4b3ae1c5f138e
This commit is contained in:
parent
3db47c4e51
commit
27b40c601c
|
@ -10,7 +10,6 @@ network
|
|||
short name OsmoMSC
|
||||
long name OsmoMSC
|
||||
auth policy closed
|
||||
location updating reject cause 13
|
||||
encryption a5 0
|
||||
rrlp mode none
|
||||
mm info 1
|
||||
|
|
|
@ -10,7 +10,6 @@ network
|
|||
short name OsmoMSC
|
||||
long name OsmoMSC
|
||||
auth policy closed
|
||||
location updating reject cause 13
|
||||
encryption a5 0
|
||||
rrlp mode none
|
||||
mm info 1
|
||||
|
|
|
@ -10,7 +10,6 @@ network
|
|||
short name OsmoMSC
|
||||
long name OsmoMSC
|
||||
auth policy closed
|
||||
location updating reject cause 13
|
||||
encryption a5 0
|
||||
rrlp mode none
|
||||
mm info 1
|
||||
|
|
|
@ -238,7 +238,6 @@ struct gsm_network {
|
|||
enum gsm_auth_policy auth_policy;
|
||||
regex_t authorized_regexp;
|
||||
char *authorized_reg_str;
|
||||
enum gsm48_reject_value reject_cause;
|
||||
/* bit-mask of permitted encryption algorithms. LSB=A5/0, MSB=A5/7 */
|
||||
uint8_t a5_encryption_mask;
|
||||
bool authentication_required;
|
||||
|
|
|
@ -137,22 +137,6 @@ DEFUN(cfg_net_authorize_regexp, cfg_net_authorize_regexp_cmd,
|
|||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN(cfg_net_reject_cause,
|
||||
cfg_net_reject_cause_cmd,
|
||||
"location updating reject cause <2-111>",
|
||||
"Set the reject cause of location updating reject\n"
|
||||
"Set the reject cause of location updating reject\n"
|
||||
"Set the reject cause of location updating reject\n"
|
||||
"Set the reject cause of location updating reject\n"
|
||||
"Cause Value as Per GSM TS 04.08\n")
|
||||
{
|
||||
struct gsm_network *gsmnet = gsmnet_from_vty(vty);
|
||||
|
||||
gsmnet->reject_cause = atoi(argv[0]);
|
||||
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN(cfg_net_encryption,
|
||||
cfg_net_encryption_cmd,
|
||||
"encryption a5 <0-3> [<0-3>] [<0-3>] [<0-3>]",
|
||||
|
@ -324,7 +308,6 @@ int common_cs_vty_init(struct gsm_network *network,
|
|||
install_element(GSMNET_NODE, &cfg_net_name_long_cmd);
|
||||
install_element(GSMNET_NODE, &cfg_net_auth_policy_cmd);
|
||||
install_element(GSMNET_NODE, &cfg_net_authorize_regexp_cmd);
|
||||
install_element(GSMNET_NODE, &cfg_net_reject_cause_cmd);
|
||||
install_element(GSMNET_NODE, &cfg_net_encryption_cmd);
|
||||
install_element(GSMNET_NODE, &cfg_net_authentication_cmd);
|
||||
install_element(GSMNET_NODE, &cfg_net_rrlp_mode_cmd);
|
||||
|
|
|
@ -187,8 +187,6 @@ static int config_write_net(struct vty *vty)
|
|||
vty_out(vty, " short name %s%s", gsmnet->name_short, VTY_NEWLINE);
|
||||
vty_out(vty, " long name %s%s", gsmnet->name_long, VTY_NEWLINE);
|
||||
vty_out(vty, " auth policy %s%s", gsm_auth_policy_name(gsmnet->auth_policy), VTY_NEWLINE);
|
||||
vty_out(vty, " location updating reject cause %u%s",
|
||||
gsmnet->reject_cause, VTY_NEWLINE);
|
||||
vty_out(vty, " encryption a5");
|
||||
for (i = 0; i < 8; i++) {
|
||||
if (gsmnet->a5_encryption_mask & (1 << i))
|
||||
|
|
Loading…
Reference in New Issue