daniel has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-sgsn/+/35091?usp=email )

Change subject: sgsn_vty: Fix output in config_write_sgsn
......................................................................

sgsn_vty: Fix output in config_write_sgsn

The encryption uea option was missing

Change-Id: I2c81ced87c53d69a94b3894441323201f81f1a76
---
M src/sgsn/sgsn_vty.c
1 file changed, 20 insertions(+), 0 deletions(-)

Approvals:
  daniel: Looks good to me, approved
  Jenkins Builder: Verified
  osmith: Looks good to me, but someone else must approve
  laforge: Looks good to me, but someone else must approve




diff --git a/src/sgsn/sgsn_vty.c b/src/sgsn/sgsn_vty.c
index b31fb59..e69307f 100644
--- a/src/sgsn/sgsn_vty.c
+++ b/src/sgsn/sgsn_vty.c
@@ -282,6 +282,15 @@

                vty_out(vty, "%s", VTY_NEWLINE);
        }
+       if (g_cfg->uea_encryption_mask != 0) {
+               vty_out(vty, " encryption uea");
+
+               for (i = 0; i < _OSMO_UTRAN_UEA_NUM; i++)
+                       if (g_cfg->uea_encryption_mask >> i & 1)
+                               vty_out(vty, " %u", i);
+
+               vty_out(vty, "%s", VTY_NEWLINE);
+       }
        if (g_cfg->crypt_cipher_plugin_path)
                vty_out(vty, "encryption cipher-plugin-path %s%s", 
g_cfg->crypt_cipher_plugin_path, VTY_NEWLINE);
        if (g_cfg->sgsn_ipa_name)

--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/35091?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I2c81ced87c53d69a94b3894441323201f81f1a76
Gerrit-Change-Number: 35091
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-MessageType: merged

Reply via email to