patch: fix of configuration file generation

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Andreas.Eversberg Andreas.Eversberg at versatel.de
Mon Nov 16 17:52:32 UTC 2009


this patches fixes the generation of the config file.
 
after saving of configuration, no location update was possible anymore.

it is self explaining...
 
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c
index 9aa9706..c6e60c0 100644
--- a/openbsc/src/vty_interface.c
+++ b/openbsc/src/vty_interface.c
@@ -784,7 +784,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;
 }




More information about the OpenBSC mailing list