'debug ospf' print a garbage character

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by:   sidkhot@cumulusnetworks.com

Ticket: CM-12271
This commit is contained in:
Daniel Walton 2016-08-05 21:47:42 +00:00
parent a79fb1aa76
commit 7fe9687b08

View File

@ -2133,6 +2133,7 @@ config_write_debug (struct vty *vty)
struct ospf *ospf;
char str[16];
memset (str, 0, 16);
if ((ospf = ospf_lookup()) == NULL)
return CMD_SUCCESS;