vty_out (vty, ", reuse in %s",
bgp_get_reuse_time (penalty, timebuf, BGP_UPTIME_LEN, 0, json_path));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
(long long)damp->max_suppress_time / 60);
vty_outln (vty, "Max supress penalty: %u",
damp->ceiling);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
else
vty_outln (vty, "dampening not enabled for %s",
}
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* Print the command to enable the debug for each peer/prefix this debug is
if (BGP_DEBUG (allow_martians, ALLOW_MARTIANS))
vty_outln (vty, " BGP allow martian next hop debugging is on");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return CMD_SUCCESS;
}
if (asfilter == NULL)
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return CMD_WARNING;
}
rd_vnc_eth.macaddr.octet[4],
rd_vnc_eth.macaddr.octet[5]);
#endif
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
rd_header = 0;
}
}
tbuf = time(NULL) - (bgp_clock() - bnc->last_update);
vty_out (vty, " Last update: %s", ctime(&tbuf));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
vty_out (vty, "SAFI Unknown %d ", mpc.safi);
break;
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
else if (hdr->code >= 128)
}
else
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
#if ENABLE_BGP_VNC
/* prints an additional line, indented, with VNC info, if present */
if ((safi == SAFI_MPLS_VPN) || (safi == SAFI_ENCAP))
json_object_object_add(json_ar, inet_ntop (p->family, &p->u.prefix, buf_cut, BUFSIZ), json_net);
}
else
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
void
{
vty_out (vty, "notag/%d", label);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
}
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* dampening route */
vty_out (vty, "%s", bgp_origin_str[attr->origin]);
}
if (!use_json)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* flap route */
vty_out (vty, "%s", bgp_origin_str[attr->origin]);
}
if (!use_json)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
static void
}
if (!json_paths)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
/* Line2 display Next-hop, Neighbor, Router-id */
/* Display the nexthop */
}
if (!json_paths)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
/* display the link-local nexthop */
if (attr->extra && attr->extra->mp_nexthop_len == BGP_ATTR_NHLEN_IPV6_GLOBAL_AND_LL)
json_object_object_add(json_path, "bestpath", json_bestpath);
if (!json_paths)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
/* Line 4 display Community */
if (attr->community)
}
if (!json_paths)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (binfo->extra && binfo->extra->damp_info)
{
if (!first)
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
json_object_array_add(json_paths, json_path);
}
else
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
#define BGP_SHOW_HEADER_CSV "Flags, Network, Next Hop, Metric, LocPrf, Weight, Path"
{
if (first)
vty_out (vty, " Not advertised to any peer");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
vty_out (vty, "%12llu", ts.counts[i]);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
return CMD_SUCCESS;
}
if (bgp_static->backdoor)
vty_out (vty, " backdoor");
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
return 0;
}
vty_out (vty, " network %s rd %s ethtag %u tag %u esi %s gwip %s routermac %s",
buf, rdbuf, p->u.prefix_evpn.eth_tag,
decode_label (bgp_static->tag), esi, buf2 , macrouter);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
if (macrouter)
XFREE (MTYPE_TMP, macrouter);
if (esi)
vty_out (vty, " backdoor");
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* Aggregate-address configuration. */
if (bgp_aggregate->summary_only)
vty_out (vty, " summary-only");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
return 0;
{
if (ctx->subgrp_id && (ctx->subgrp_id != subgrp->id))
continue;
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, " Update-subgroup %" PRIu64 ":", subgrp->id);
vty_out (vty, " Created: %s", timestamp_string (subgrp->uptime));
rd_vnc_eth.macaddr.octet[5]);
#endif
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
rd_header = 0;
}
if_ras_printed = TRUE;
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* remote-as and peer-group */
vty_out (vty, " send");
else
vty_out (vty, " receive");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* Route reflector client. */
" neighbor %s default-originate", addr);
if (peer->default_rmap[afi][safi].name)
vty_out (vty, " route-map %s", peer->default_rmap[afi][safi].name);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* Soft reconfiguration inbound. */
vty_out (vty, " warning-only");
if (peer->pmax_restart[afi][safi])
vty_out (vty, " restart %u", peer->pmax_restart[afi][safi]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* Route server client. */
if (safi == SAFI_EVPN)
vty_out (vty, "l2vpn evpn");
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
*write = 1;
}
(bgp->inst_type == BGP_INSTANCE_TYPE_VIEW) ?
"view" : "vrf", bgp->name);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
/* No Synchronization */
if (bgp_option_check (BGP_OPT_CONFIG_CISCO))
for (i = 0; i < bgp->confed_peers_cnt; i++)
vty_out(vty, " %u", bgp->confed_peers[i]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* BGP enforce-first-as. */
vty_out (vty, " bgp max-med on-startup %u", bgp->v_maxmed_onstartup);
if (bgp->maxmed_onstartup_value != BGP_MAXMED_VALUE_DEFAULT)
vty_out (vty, " %u", bgp->maxmed_onstartup_value);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (bgp->v_maxmed_admin != BGP_MAXMED_ADMIN_UNCONFIGURED)
{
vty_out (vty, " bgp max-med administrative");
if (bgp->maxmed_admin_value != BGP_MAXMED_VALUE_DEFAULT)
vty_out (vty, " %u", bgp->maxmed_admin_value);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* write quanta */
vty_out (vty, " confed");
if (bgp_flag_check (bgp, BGP_FLAG_MED_MISSING_AS_WORST))
vty_out (vty, " missing-as-worst");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* BGP network import check. */
vty_out (vty, " un=");
rfapiPrintRfapiIpAddr (vty, &rfd->un_addr);
if (vty)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
list_delete (orphaned_nves);
}
{
vty_out (vty, "%hu ", (uint16_t) ((uintptr_t) data));
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (rfg->rt_import_list && rfg->rt_export_list &&
vty_out (vty, "%d", hc->default_response_lifetime);
else
vty_out (vty, "infinite");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (hc->default_rt_import_list && hc->default_rt_export_list &&
ecommunity_cmp (hc->default_rt_import_list,
vty_out (vty, "%d", rfg->response_lifetime);
else
vty_out (vty, "infinite");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (rfg->rt_import_list && rfg->rt_export_list &&
(hc->rfp_cfg.ftd_advertisement_interval == RFAPI_RFP_CFG_DEFAULT_FTD_ADVERTISEMENT_INTERVAL ? "(default)" : ""));
vty_outln (vty, "%-39s %d seconds", "Default RFP response lifetime:",
hc->default_response_lifetime);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return;
}
}
vnc_zlog_debug_verbose ("%s: rfapi_register failed", __func__);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, "Registration failed.");
vty_outln (vty,
"Confirm that either the VN or UN address matches a configured NVE group.");
h->stat.count_registrations_failed);
vty_out (vty, "%-8s %-8u", "Total:",
h->stat.count_registrations);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
vty_out (vty, "%-24s ", "Prefixes registered:");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
rfapiCountAllItRoutes (&active_local_routes,
&active_remote_routes,
{
vty_out (vty, " %-20s ", "Locally:");
vty_out (vty, "%-8s %-8u ", "Active:", active_local_routes);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
vty_out (vty, " %-20s ", "Remotely:");
vty_out (vty, "%-8s %-8u", "Active:", active_remote_routes);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, " %-20s ", "In Holddown:");
vty_out (vty, "%-8s %-8u", "Active:", holddown_remote_routes);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, " %-20s ", "Imported:");
vty_out (vty, "%-8s %-8u", "Active:", imported_remote_routes);
break;
default:
break;
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
return 0;
if (!check_and_display_is_vnc_running (vty))
return CMD_SUCCESS;
bgp_rfapi_show_summary (bgp_get_default (), vty);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
rfapi_vty_show_nve_summary (vty, SHOW_NVE_SUMMARY_ACTIVE_NVES);
rfapi_vty_show_nve_summary (vty, SHOW_NVE_SUMMARY_QUERIES);
rfapi_vty_show_nve_summary (vty, SHOW_NVE_SUMMARY_RESPONSES);
}
if (!printed)
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
vncdebug[i].name);
}
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return CMD_SUCCESS;
}
if (rfi->config_var != 0)
{
vty_out (vty, " rfp example-config-value %u", rfi->config_var);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write++;
}
else
vty_out (vty, "- ");
vty_out (vty, "%-10s", snpa_print (adj->snpa));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (detail == ISIS_UI_LEVEL_DETAIL)
{
level = adj->level;
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
if (adj->circuit)
vty_out (vty, " Interface: %s", adj->circuit->interface->name);
else
time2string (adj->last_upd + adj->hold_time - now));
else
vty_out (vty, ", Expires in %s", time2string (adj->hold_time));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, " Adjacency flaps: %u", adj->flaps);
vty_out (vty, ", Last: %s ago", time2string (now - adj->last_flap));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, " Circuit type: %s", circuit_t2string (adj->circuit_t));
vty_out (vty, ", Speaks: %s", nlpid2string (&adj->nlpids));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
if (adj->mt_count != 1 || adj->mt_set[0] != ISIS_MT_IPV4_UNICAST)
{
vty_outln (vty, " Topologies:");
vty_out (vty, ", LAN id: %s.%02x",
sysid_print (adj->lanid), adj->lanid[ISIS_SYS_ID_LEN]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, " LAN Priority: %u", adj->prio[adj->level - 1]);
vty_out (vty, ", %s, DIS flaps: %u, Last: %s ago",
(adj->dis_record[ISIS_LEVELS + level - 1].
last_dis_change)));
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
if (adj->area_addrs && listcount (adj->area_addrs) > 0)
{
vty_outln (vty, " %s", ip6);
}
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
return;
}
vty_out (vty, "%-9s", circuit_state2string (circuit->state));
vty_out (vty, "%-9s", circuit_type2string (circuit->circ_type));
vty_out (vty, "%-9s", circuit_t2string (circuit->is_type));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (detail == ISIS_UI_LEVEL_DETAIL)
else
vty_out (vty, ", Active");
vty_out (vty, ", Circuit Id: 0x%x", circuit->circuit_id);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, " Type: %s", circuit_type2string (circuit->circ_type));
vty_out (vty, ", Level: %s", circuit_t2string (circuit->is_type));
if (circuit->circ_type == CIRCUIT_T_BROADCAST)
vty_out (vty, ", SNPA: %-10s", snpa_print (circuit->u.bc.snpa));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
if (circuit->is_type & IS_LEVEL_1)
{
vty_outln (vty, " Level-1 Information:");
}
else
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
if (circuit->is_type & IS_LEVEL_2)
}
else
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
if (circuit->ip_addrs && listcount (circuit->ip_addrs) > 0)
}
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
return;
}
for (ALL_LIST_ELEMENTS_RO (lsp->tlv_data.mt_ipv4_reachs, lnode, mt_ipv4_reachs))
lsp_print_mt_ipv4_reach(mt_ipv4_reachs->list, vty, mt_ipv4_reachs->mtid);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return;
}
vty_out(vty, " metric %u", redist->metric);
if (redist->map_name)
vty_out(vty, " route-map %s", redist->map_name);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write++;
}
}
vty_out(vty, " metric %u", redist->metric);
if (redist->map_name)
vty_out(vty, " route-map %s", redist->map_name);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write++;
}
for (ALL_LIST_ELEMENTS_RO (vertex->Adj_N, anode, adj)) {
if (adj) {
if (rows) {
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, "%-20s %-12s %-6s ", "", "", "");
}
vty_out (vty, "%-20s %-9s ",
int rows = 0;
for (ALL_LIST_ELEMENTS_RO (vertex->parents, pnode, pvertex)) {
if (rows) {
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, "%-72s", "");
}
vty_out (vty, "%s(%d)",
vty_out (vty, " NULL ");
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
vty_outln (vty, "IS-IS paths to level-%d routers that speak IP",
level);
isis_print_paths (vty, area->spftree[level-1]->paths, isis->sysid);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (area->ipv6_circuits > 0 && area->spftree6[level-1]
&& area->spftree6[level-1]->paths->count > 0)
"IS-IS paths to level-%d routers that speak IPv6",
level);
isis_print_paths (vty, area->spftree6[level-1]->paths, isis->sysid);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
return CMD_SUCCESS;
else
rtn++;
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
else
vty_outln (vty, " Unknown TLV: [type(%#.2x), length(%#.2x)]",
vty_out (vty, "Up time : ");
vty_out_timestr(vty, isis->uptime);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
if (isis->area_list)
vty_outln (vty, "Number of areas : %d",isis->area_list->count);
area->min_spf_interval[level - 1]);
if (area->spf_delay_ietf[level - 1])
vty_out (vty, " (not used, IETF SPF delay activated)");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, " IPv4 route computation:");
vty_out (vty, " last run elapsed : ");
vty_out_timestr(vty, spftree->last_run_timestamp);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, " last run duration : %u usec",
(u_int32_t)spftree->last_run_duration);
vty_out (vty, " last run elapsed : ");
vty_out_timestr(vty, spftree->last_run_timestamp);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, " last run duration : %llu msec",
(unsigned long long)spftree->last_run_duration);
spftree->runcount);
}
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return CMD_SUCCESS;
}
else
vty_out(vty, "send-only");
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write++;
}
else if (area->area_passwd.type == ISIS_PASSWD_TYPE_CLEARTXT)
else
vty_out(vty, "send-only");
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write++;
}
if (area->domain_passwd.type == ISIS_PASSWD_TYPE_HMAC_MD5)
else
vty_out(vty, "send-only");
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write++;
}
else if (area->domain_passwd.type == ISIS_PASSWD_TYPE_CLEARTXT)
else
vty_out(vty, "send-only");
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write++;
}
vty_outln (vty," LDP messages debugging is on (outbound)");
if (LDP_DEBUG(zebra, ZEBRA))
vty_outln (vty, " LDP zebra debugging is on");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (CMD_SUCCESS);
}
if (af_conf->acl_thello_accept_from[0] != '\0')
vty_out(vty, " from %s",
af_conf->acl_thello_accept_from);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (af_conf->thello_holdtime != TARGETED_DFLT_HOLDTIME &&
else
vty_out(vty, " for %s",
af_conf->acl_label_allocate_for);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (af_conf->acl_label_advertise_for[0] != '\0' ||
if (af_conf->acl_label_advertise_for[0] != '\0')
vty_out(vty, " for %s",
af_conf->acl_label_advertise_for);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (af_conf->flags & F_LDPD_AF_EXPNULL) {
if (af_conf->acl_label_expnull_for[0] != '\0')
vty_out(vty, " for %s",
af_conf->acl_label_expnull_for);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (af_conf->acl_label_accept_for[0] != '\0' ||
if (af_conf->acl_label_accept_for[0] != '\0')
vty_out(vty, " for %s",
af_conf->acl_label_accept_for);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (af_conf->flags & F_LDPD_AF_NO_GTSM)
iface->adj_cnt);
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
vty_outln (vty, "%9u", adj->holdtime);
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
vty_out(vty, "%s", ifaces_buffer);
vty_outln (vty, " Targeted Hellos:");
vty_out(vty, "%s", tnbrs_buffer);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
vty_outln (vty, " IPv6:");
vty_out(vty, "%s", v6adjs_buffer);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
break;
case IMSG_CTL_END:
return (1);
vty_outln (vty, "Peer LDP Identifier: %s:0",
inet_ntoa(nbr->id));
show_nbr_capabilities(vty, nbr);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
rt->in_use ? "yes" : "no");
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
vty_outln (vty, "%-8sNo remote bindings","");
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
vty_outln (vty," Remote Label: unassigned");
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
(pw->status ? "UP" : "DOWN"));
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
if (use_json)
json_object_object_add(json_obj, "peerBfdInfo", json_bfd);
else
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/*
if (zlog_default->maxlvl[ZLOG_DEST_FILE] != zlog_default->default_lvl)
vty_out (vty, " %s",
zlog_priority[zlog_default->maxlvl[ZLOG_DEST_FILE]]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (zlog_default->maxlvl[ZLOG_DEST_STDOUT] != ZLOG_DISABLED)
if (zlog_default->maxlvl[ZLOG_DEST_STDOUT] != zlog_default->default_lvl)
vty_out (vty, " %s",
zlog_priority[zlog_default->maxlvl[ZLOG_DEST_STDOUT]]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (zlog_default->maxlvl[ZLOG_DEST_MONITOR] == ZLOG_DISABLED)
if (zlog_default->maxlvl[ZLOG_DEST_SYSLOG] != zlog_default->default_lvl)
vty_out (vty, " %s",
zlog_priority[zlog_default->maxlvl[ZLOG_DEST_SYSLOG]]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (zlog_default->facility != LOG_DAEMON)
}
if (gn == start)
vty_out (vty, "...");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
else
{
vty_out (vty, "level %s, facility %s, ident %s",
zlog_priority[zl->maxlvl[ZLOG_DEST_SYSLOG]],
facility_name(zl->facility), zl->ident);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, "Stdout logging: ");
if (zl->maxlvl[ZLOG_DEST_STDOUT] == ZLOG_DISABLED)
else
vty_out (vty, "level %s",
zlog_priority[zl->maxlvl[ZLOG_DEST_STDOUT]]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, "Monitor logging: ");
if (zl->maxlvl[ZLOG_DEST_MONITOR] == ZLOG_DISABLED)
else
vty_out (vty, "level %s",
zlog_priority[zl->maxlvl[ZLOG_DEST_MONITOR]]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, "File logging: ");
if ((zl->maxlvl[ZLOG_DEST_FILE] == ZLOG_DISABLED) ||
vty_out (vty, "level %s, filename %s",
zlog_priority[zl->maxlvl[ZLOG_DEST_FILE]],
zl->filename);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, "Protocol name: %s",
zl->protoname);
DISTRIBUTE_V6_OUT, has_print);
}
if (has_print)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
else
vty_outln (vty, " not set");
has_print = distribute_print(vty, dist->prefix, 1,
DISTRIBUTE_V6_OUT, has_print);
if (has_print)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
else
vty_outln (vty, " nothing");
}
DISTRIBUTE_V6_IN, has_print);
}
if (has_print)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
else
vty_outln (vty, " not set");
has_print = distribute_print(vty, dist->prefix, 1,
DISTRIBUTE_V6_IN, has_print);
if (has_print)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
else
vty_outln (vty, " nothing");
}
vty_out (vty, " %s", inet_ntoa (filter->addr));
if (filter->addr_mask.s_addr != 0)
vty_out (vty, ", wildcard bits %s", inet_ntoa (filter->addr_mask));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
vty_out (vty, " %s", inet_ntoa (filter->addr));
if (filter->addr_mask.s_addr != 0)
vty_out (vty, ", wildcard bits %s", inet_ntoa (filter->addr_mask));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
vty_out (vty, " %s", inet_ntoa (filter->mask));
vty_out (vty, " %s", inet_ntoa (filter->mask_mask));
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
else
{
vty_out (vty, " %s", inet_ntoa (filter->addr));
if (filter->addr_mask.s_addr != 0)
vty_out (vty, " %s", inet_ntoa (filter->addr_mask));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
p->prefixlen,
filter->exact ? " exact-match" : "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
static int
prev->el->string);
vty_outln (vty, " %s%s '%s'", cur->el->name, VTYNL,
cur->el->string);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
ambig++;
}
prev = cur;
}
list_delete (commands);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
} while (scan && scannode < LINK_PARAMS_NODE);
vty_outln (vty, "%d ambiguous commands found.", ambig);
if (numto)
{
if (numto > 1)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
for (unsigned int i = 0; i < vector_active (start->to); i++)
{
struct graph_node *adj = vector_slot (start->to, i);
}
}
else
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
static void
keychain_strftime (buf, BUFSIZ, &key->accept.end);
vty_out (vty, " %s", buf);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (key->send.start)
keychain_strftime (buf, BUFSIZ, &key->send.end);
vty_out (vty, " %s", buf);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
vty_outln (vty, "!");
vty_out (vty, " (hit count: %ld, refcount: %ld)",
pentry->hitcnt, pentry->refcnt);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
vty_out (vty, " (hit count: %ld, refcount: %ld)",
pentry->hitcnt, pentry->refcnt);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
if (type == first_match_display)
return CMD_SUCCESS;
if (pentry->le)
vty_out (vty, " le %d", pentry->le);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write++;
}
/* vty_out (vty, "!%s", VTYNL); */
if (pentry->le)
vty_out (vty, " le %d", pentry->le);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write++;
}
}
if (pentry->le)
vty_out (vty, " le %d", pentry->le);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
return plist->count;
static void
vty_down_level (struct vty *vty)
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
cmd_exit (vty);
vty_prompt (vty);
vty->cp = 0;
static void
vty_end_config (struct vty *vty)
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
switch (vty->node)
{
cmd_free_strvec (vline);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
switch (ret)
{
case CMD_ERR_AMBIGUOUS:
for (i = 0; matched[i] != NULL; i++)
{
if (i != 0 && ((i % 6) == 0))
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, "%-10s ", matched[i]);
XFREE (MTYPE_COMPLETION, matched[i]);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_prompt (vty);
vty_redraw_line (vty);
describe = cmd_describe_command (vline, vty, &ret);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
/* Ambiguous error. */
switch (ret)
vty_out(vty, " %s", item);
XFREE(MTYPE_COMPLETION, item);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
vector_free(varcomps);
}
{
vty->cp = vty->length = 0;
vty_clear_buf (vty);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
switch (vty->node)
{
break;
}
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
#endif /* TELNET_OPTION_DEBUG */
break;
case '\n':
case '\r':
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_execute (vty);
break;
case '\t':
if (nifp->ipsec_fallback_profile)
vty_out(vty, " fallback-profile %s",
nifp->ipsec_fallback_profile);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (nifp->source)
vty_outln (vty, " tunnel source %s",
vty_outln (vty, " Adjacency changes are logged");
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
for (ALL_LIST_ELEMENTS_RO (o->area_list, n, oa))
ospf6_area_show (vty, oa);
if (ospf6->distance_external)
vty_out (vty, " external %u", ospf6->distance_external);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
for (rn = route_top (ospf6->distance_table); rn; rn = route_next (rn))
{
vty_out (vty, "0x%x ", olsa->data[i]);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
else
{
if (IS_DEBUG_OSPF (nssa, NSSA) == OSPF_DEBUG_NSSA)
vty_outln (vty, " OSPF NSSA debugging is on");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return CMD_SUCCESS;
}
IS_ROUTER_LSA_VIRTUAL (rlsa) ? " VL-endpoint" : "",
IS_ROUTER_LSA_SHORTCUT (rlsa) ? " Shortcut" : "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
vty_outln (vty, " LS Type: %s",
lookup_msg(ospf_lsa_type_msg, lsa->data->type, NULL));
vty_outln (vty, "Multicast Loop : %d", mloop);
vty_outln (vty, "Promiscuous : %s",
(ifp->flags & IFF_PROMISC) ? "yes" : "no");
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
}
static void igmp_show_interfaces(struct vty *vty, u_char uj)
inet_ntoa(pim_ifp->primary_address));
vty_outln (vty, "Uptime : %s", uptime);
vty_outln (vty, "Version : %d", pim_ifp->igmp_version);
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
vty_outln (vty, "Querier");
vty_outln (vty, "-------");
vty_outln (vty, "Start Count : %d", igmp->startup_query_count);
vty_outln (vty, "Query Timer : %s", query_hhmmss);
vty_outln (vty, "Other Timer : %s", other_hhmmss);
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
vty_outln (vty, "Timers");
vty_outln (vty, "------");
vty_outln (vty, "Robustness Variable : %d",
igmp->querier_robustness_variable);
vty_outln (vty, "Startup Query Interval : %ds", sqi);
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
pim_print_ifp_flags(vty, ifp, mloop);
}
} else {
vty_outln (vty, "Address : %s", inet_ntoa(ifaddr));
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
// PIM neighbors
print_header = 1;
}
if (!print_header) {
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
}
vty_outln (vty, "Designated Router");
vty_outln (vty, "Uptime : %s", dr_uptime);
vty_outln (vty, "Elections : %d", pim_ifp->pim_dr_election_count);
vty_outln (vty, "Changes : %d", pim_ifp->pim_dr_election_changes);
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
// FHR
print_header = 1;
}
if (!print_header) {
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
}
vty_outln (vty, "Hellos");
vty_outln (vty, "Send Failed : %d",
pim_ifp->pim_ifstat_hello_sendfail);
vty_outln (vty, "Generation ID : %08x", pim_ifp->pim_generation_id);
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
pim_print_ifp_flags(vty, ifp, mloop);
pim_if_effective_override_interval_msec(ifp));
vty_outln (vty, "Join Prune Override Interval : %d msec",
pim_if_jp_override_interval_msec(ifp));
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
vty_outln (vty, "LAN Prune Delay");
vty_outln (vty, "---------------");
pim_ifp->pim_override_interval_msec);
vty_outln (vty, "Override Interval (Highest) : %d msec",
pim_ifp->pim_neighbors_highest_override_interval_msec);
- vty_outln (vty, "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
+ vty_out (vty, VTYNL);
}
}
json = json_object_new_object ();
else
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, "%-12s%-17s%-17s%-17s%-17s%-17s%-17s", "Interface",
" HELLO", " JOIN", " PRUNE", " REGISTER",
" REGISTER-STOP", " ASSERT");
json = json_object_new_object ();
else
{
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, "%-12s%-17s%-17s%-17s%-17s%-17s%-17s", "Interface",
" HELLO", " JOIN", " PRUNE", " REGISTER",
" REGISTER-STOP", " ASSERT");
vty_outln (vty, " Hello Option - T-bit : %s",
option_t_bit ? "yes" : "no");
pim_bfd_show_info (vty, neigh->bfd_info, json_ifp, uj, 0);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
}
if (!uj)
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
json_object_to_json_string_ext(json, JSON_C_TO_STRING_PRETTY));
json_object_free(json);
} else {
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
show_rpf_refresh_stats(vty, now, json);
} else {
show_rpf_refresh_stats(vty, now, json);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty,
"Source Group RpfIface RpfAddress RibNextHop Metric Pref");
}
vty_out (vty, "%-15s ", inet_ntoa (pnc->rpf.rpf_addr.u.prefix4));
vty_out (vty, "%-14s ", ifp ? ifp->name : "NULL");
vty_out (vty, "%s ", inet_ntoa (nh_node->gate.ipv4));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
return CMD_SUCCESS;
}
struct listnode *node;
struct interface *ifp;
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty,
"Interface Address ifi Vif PktsIn PktsOut BytesIn BytesOut");
vty_outln (vty, "Mroute socket uptime: %s",
uptime);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
pim_zebra_zclient_update (vty);
pim_zlookup_show_ip_multicast (vty);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, "Maximum highest VifIndex: %d",
PIM_MAX_USABLE_VIFS);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, "Upstream Join Timer: %d secs",
qpim_t_periodic);
vty_outln (vty, "Join/Prune Holdtime: %d secs",
vty_outln (vty, "PIM ECMP Rebalance: %s",
qpim_ecmp_rebalance_enable ? "Enable" : "Disable");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
show_rpf_refresh_stats(vty, now, NULL);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
show_scan_oil_stats(vty, now);
struct channel_oil *c_oil;
struct static_route *s_route;
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty,
"Source Group LastUsed Packets Bytes WrongIf ");
mp->ka_tx_cnt, mp->ka_rx_cnt);
vty_outln (vty, " SAs : %10d %10d",
mp->sa_tx_cnt, mp->sa_rx_cnt);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
vty_outln (vty, " SPT Setup : %s", spt_str);
vty_outln (vty, " Uptime : %s", timebuf);
vty_outln (vty, " State Timer : %s", statetimer);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
vty_out(vty, " ip pim hello %d", pim_ifp->pim_hello_period);
if (pim_ifp->pim_default_holdtime != -1)
vty_out(vty, " %d", pim_ifp->pim_default_holdtime);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* update source */
vty_out (vty, " auth-length old-ripd");
else
vty_out (vty, " auth-length rfc");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (ri->auth_str)
vty_out (vty, "%3"ROUTE_TAG_PRI, (route_tag_t)rinfo->tag);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
return CMD_SUCCESS;
}
/* Redistribute information. */
vty_out (vty, " Redistributing:");
config_write_rip_redistribute (vty, 0);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, " Default version control: send version %s,",
lookup_msg(ri_version_msg,rip->version_send, NULL));
vty_out (vty, "R(a) %s/%d ",
inet6_ntoa (p->prefix), p->prefixlen);
#endif /* DEBUG */
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, "%*s", 18, " ");
vty_out (vty, "%*s", 28, " ");
ripng_route_subtype_print(rinfo),
inet6_ntoa (p->prefix), p->prefixlen);
#endif /* DEBUG */
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, "%*s", 18, " ");
len = vty_out (vty, "%s", inet6_ntoa (rinfo->nexthop));
ripng_vty_out_uptime (vty, rinfo);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
/* Redistribute information. */
vty_out (vty, " Redistributing:");
ripng_redistribute_write (vty, 0);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_out (vty, " Default version control: send version %d,", ripng->version);
vty_outln (vty, " receive version %d ",ripng->version);
fprintf (stdout, " %s", item);
XFREE (MTYPE_COMPLETION, item);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
vector_free (varcomps);
}
for (i = 0; i < array_size(vtysh_client); i++)
if ( vtysh_client[i].fd >= 0 )
vty_out(vty, " %s", vtysh_client[i].name);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return CMD_SUCCESS;
}
if (connected->label)
vty_out (vty, " %s", connected->label);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* Dump interface neighbor address information to vty. */
prefix_vty_out (vty, p);
vty_out (vty, "/%d", p->prefixlen);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
#if defined (HAVE_RTADV)
vty_out (vty, " HWaddr: ");
for (i = 0; i < ifp->hw_addr_len; i++)
vty_out (vty, "%s%02x", i == 0 ? "" : ":", ifp->hw_addr[i]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* Bandwidth in Mbps */
if (ifp->bandwidth != 0)
{
vty_out(vty, " bandwidth %u Mbps", ifp->bandwidth);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
for (rn = route_top (zebra_if->ipv4_subnets); rn; rn = route_next (rn))
vty_out(vty, " Min: %u (micro-sec.)", iflp->min_delay);
vty_out(vty, " Max: %u (micro-sec.)", iflp->max_delay);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (IS_PARAM_SET(iflp, LP_DELAY_VAR))
vty_outln (vty, " Link Delay Variation %u (micro-sec.)",
if (ifp->desc)
vty_out (vty, "%s", ifp->desc);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
vty_out(vty, " min %u", iflp->min_delay);
vty_out(vty, " max %u", iflp->max_delay);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
if (IS_PARAM_SET(iflp, LP_DELAY_VAR))
vty_outln (vty, " delay-variation %u", iflp->delay_var);
if (ifc->label)
vty_out (vty, " label %s", ifc->label);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
if (rmap_name)
vty_out(vty, " route-map %s", rmap_name);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write = 1;
}
}
vty_out (vty, " no-autoconfig");
if (rprefix->AdvRouterAddressFlag)
vty_out (vty, " router-address");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
vty_out(vty, " Label: %s", label2str(fec->label, buf, BUFSIZ));
if (fec->label_index != MPLS_INVALID_LABEL_INDEX)
vty_out(vty, ", Label Index: %u", fec->label_index);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
if (!list_isempty(fec->client_list))
{
vty_out(vty, " Client list:");
for (ALL_LIST_ELEMENTS_RO(fec->client_list, node, client))
vty_out(vty, " %s(fd %d)",
zebra_route_string(client->proto), client->sock);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
}
}
vty_out(vty, "%s", CHECK_FLAG (nhlfe->flags, NHLFE_FLAG_INSTALLED) ?
" (installed)" : "");
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/*
}
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
list_delete (lsp_list);
vty_outln (vty, "------");
vty_outln (vty, "%-20s %-20d %-20d ", "Totals", rib_cnt[ZEBRA_ROUTE_TOTAL],
fib_cnt[ZEBRA_ROUTE_TOTAL]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/*
vty_outln (vty, "------");
vty_outln (vty, "%-20s %-20d %-20d ", "Totals", rib_cnt[ZEBRA_ROUTE_TOTAL],
fib_cnt[ZEBRA_ROUTE_TOTAL]);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
/* Show route summary. */
mpls_label2str (si->snh_label.num_labels,
si->snh_label.label, buf, sizeof buf, 0));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
write = 1;
}
vty_out (vty, "inactive");
else
vty_out (vty, "id %u table %u", zvrf_id (zvrf), zvrf->table_id);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
}
vty_out (vty, "Client: %s", zebra_route_string(client->proto));
if (client->instance)
vty_out (vty, " Instance: %d", client->instance);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, "------------------------ ");
vty_outln (vty, "FD: %d ", client->sock);
if (client->last_write_time)
vty_outln (vty, "Last Sent Cmd: %s ",
zserv_command_string(client->last_write_cmd));
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
vty_outln (vty, "Type Add Update Del ");
vty_outln (vty, "================================================== ");
vty_outln (vty, "Interface Up Notifications: %d",client->ifup_cnt);
vty_outln (vty, "Interface Down Notifications: %d",client->ifdown_cnt);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return;
}