Fix configuration file generation

Assign the encryption status to the right variable.

Signed-off-by: Holger Freyther <zecke@selfish.org>
This commit is contained in:
Andreas.Eversberg 2009-11-17 09:55:26 +01:00 committed by Holger Hans Peter Freyther
parent f7d752f7ac
commit 1059deb782
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ DEFUN(cfg_net_encryption,
"encryption a5 (0|1|2)",
"Enable or disable encryption (A5) for this network\n")
{
gsmnet->auth_policy = atoi(argv[0]);
gsmnet->a5_encryption= atoi(argv[0]);
return CMD_SUCCESS;
}