diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-21 03:10:57 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-29 17:31:28 +0000 | 
| commit | 96ade3ed7716c89b8047a1c0ab3377985d461cf8 (patch) | |
| tree | 1c3061738c2c0027612b6cdb3e5d5eccb08587bf /isisd/isis_dynhn.c | |
| parent | 4d5f445750e01467898eee47796e80d808500d56 (diff) | |
*: use vty_outln
Saves 400 lines
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_dynhn.c')
| -rw-r--r-- | isisd/isis_dynhn.c | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/isisd/isis_dynhn.c b/isisd/isis_dynhn.c index 0c702e6729..e124bb4675 100644 --- a/isisd/isis_dynhn.c +++ b/isisd/isis_dynhn.c @@ -159,15 +159,13 @@ dynhn_print_all (struct vty *vty)    struct listnode *node;    struct isis_dynhn *dyn; -  vty_out (vty, "Level  System ID      Dynamic Hostname%s", VTY_NEWLINE); +  vty_outln (vty, "Level  System ID      Dynamic Hostname");    for (ALL_LIST_ELEMENTS_RO (dyn_cache, node, dyn))      {        vty_out (vty, "%-7d", dyn->level); -      vty_out (vty, "%-15s%-15s%s", sysid_print (dyn->id), dyn->name.name, -	       VTY_NEWLINE); +      vty_outln (vty, "%-15s%-15s", sysid_print (dyn->id),dyn->name.name);      } -  vty_out (vty, "     * %s %s%s", sysid_print (isis->sysid), unix_hostname (), -	   VTY_NEWLINE); +  vty_outln (vty, "     * %s %s", sysid_print (isis->sysid),unix_hostname());    return;  }  | 
