Fix configuration file generation
Assign the encryption status to the right variable.
Signed-off-by: Holger Freyther <zecke@selfish.org>
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 54c9d5c..a7188a4 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -786,7 +786,7 @@
"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;
}