diff --git a/lib/plist.c b/lib/plist.c index 5746080127..b374ca1780 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -930,9 +930,11 @@ static int vty_prefix_list_install(struct vty *vty, afi_t afi, const char *name, char buf_tmp[PREFIX2STR_BUFFER]; prefix2str(&p, buf, sizeof(buf)); prefix2str(&p_tmp, buf_tmp, sizeof(buf_tmp)); - zlog_warn( - "Prefix-list %s prefix changed from %s to %s to match length", + vty_out(vty, + "%% Prefix-list %s prefix changed from %s to %s to match length\n", name, buf, buf_tmp); + zlog_info("Prefix-list %s prefix changed from %s to %s to match length", + name, buf, buf_tmp); p = p_tmp; }