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