laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-cbc/+/28706 )
Change subject: cbc_vty: print correct protocol when writing config
......................................................................
cbc_vty: print correct protocol when writing config
Change-Id: Id9fc0b42827f9a74ff1de4b35339de02aeeefee2
---
M src/cbc_vty.c
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
laforge: Looks good to me, approved
diff --git a/src/cbc_vty.c b/src/cbc_vty.c
index 7e70602..ddf2891 100644
--- a/src/cbc_vty.c
+++ b/src/cbc_vty.c
@@ -638,7 +638,8 @@
{
unsigned int i;
vty_out(vty, " peer %s%s", peer->name, VTY_NEWLINE);
- vty_out(vty, " protocol cbsp%s", VTY_NEWLINE);
+ vty_out(vty, " protocol %s%s",
+ get_value_string(cbc_peer_proto_name_vty, peer->proto), VTY_NEWLINE);
if (peer->remote_port == -1)
vty_out(vty, " no remote-port%s", VTY_NEWLINE);
else
--
To view, visit
https://gerrit.osmocom.org/c/osmo-cbc/+/28706
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: Id9fc0b42827f9a74ff1de4b35339de02aeeefee2
Gerrit-Change-Number: 28706
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged