diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-13 17:49:13 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-13 20:29:22 +0200 | 
| commit | 5c7571d43f57317b0827ac82fbebc4cdc6865be0 (patch) | |
| tree | 2bc63ccbd805abc9689e9f3345e34871558d5c26 /isisd/isis_dynhn.c | |
| parent | 83eba583d7be5afaf2eba35ce4d391f645af4bfa (diff) | |
*: ditch vty_outln(), part 1 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_dynhn.c')
| -rw-r--r-- | isisd/isis_dynhn.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/isisd/isis_dynhn.c b/isisd/isis_dynhn.c index e124bb4675..35d573d30a 100644 --- a/isisd/isis_dynhn.c +++ b/isisd/isis_dynhn.c @@ -159,13 +159,13 @@ dynhn_print_all (struct vty *vty)    struct listnode *node;    struct isis_dynhn *dyn; -  vty_outln (vty, "Level  System ID      Dynamic Hostname"); +  vty_out (vty, "Level  System ID      Dynamic Hostname\n");    for (ALL_LIST_ELEMENTS_RO (dyn_cache, node, dyn))      {        vty_out (vty, "%-7d", dyn->level); -      vty_outln (vty, "%-15s%-15s", sysid_print (dyn->id),dyn->name.name); +      vty_out (vty, "%-15s%-15s\n", sysid_print (dyn->id),dyn->name.name);      } -  vty_outln (vty, "     * %s %s", sysid_print (isis->sysid),unix_hostname()); +  vty_out (vty, "     * %s %s\n", sysid_print (isis->sysid),unix_hostname());    return;  }  | 
