laforge submitted this change.
cbc_vty: print correct protocol when writing config
Change-Id: Id9fc0b42827f9a74ff1de4b35339de02aeeefee2
---
M src/cbc_vty.c
1 file changed, 2 insertions(+), 1 deletion(-)
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 change 28706. To unsubscribe, or for help writing mail filters, visit settings.