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 /lib/distribute.c | |
| parent | 83eba583d7be5afaf2eba35ce4d391f645af4bfa (diff) | |
*: ditch vty_outln(), part 1 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/distribute.c')
| -rw-r--r-- | lib/distribute.c | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/distribute.c b/lib/distribute.c index 79d7b18ff5..8bf961e97e 100644 --- a/lib/distribute.c +++ b/lib/distribute.c @@ -349,7 +349,7 @@ DEFUN (no_distribute_list,    if (! ret)      { -      vty_outln (vty, "distribute list doesn't exist"); +      vty_out (vty, "distribute list doesn't exist\n");        return CMD_WARNING;      }    return CMD_SUCCESS; @@ -395,7 +395,7 @@ config_show_distribute (struct vty *vty)    if (has_print)      vty_out (vty, VTYNL);    else -    vty_outln (vty, " not set"); +    vty_out (vty, " not set\n");    for (i = 0; i < disthash->size; i++)      for (mp = disthash->index[i]; mp; mp = mp->next) @@ -416,7 +416,7 @@ config_show_distribute (struct vty *vty)              if (has_print)  	      vty_out (vty, VTYNL);              else -              vty_outln (vty, " nothing"); +              vty_out (vty, " nothing\n");  	    }        } @@ -439,7 +439,7 @@ config_show_distribute (struct vty *vty)    if (has_print)      vty_out (vty, VTYNL);    else -    vty_outln (vty, " not set"); +    vty_out (vty, " not set\n");    for (i = 0; i < disthash->size; i++)      for (mp = disthash->index[i]; mp; mp = mp->next) @@ -460,7 +460,7 @@ config_show_distribute (struct vty *vty)              if (has_print)  	      vty_out (vty, VTYNL);              else -              vty_outln (vty, " nothing"); +              vty_out (vty, " nothing\n");  	    }        }    return 0; @@ -487,7 +487,7 @@ config_write_distribute (struct vty *vty)  	  if (dist->list[j]) {  	    output = j == DISTRIBUTE_V4_OUT || j == DISTRIBUTE_V6_OUT;              v6 = j == DISTRIBUTE_V6_IN || j == DISTRIBUTE_V6_OUT; -	    vty_outln (vty, " %sdistribute-list %s %s %s", +	    vty_out (vty, " %sdistribute-list %s %s %s\n",                       v6 ? "ipv6 " : "",  		     dist->list[j],  		     output ? "out" : "in", @@ -499,7 +499,7 @@ config_write_distribute (struct vty *vty)  	  if (dist->prefix[j]) {  	    output = j == DISTRIBUTE_V4_OUT || j == DISTRIBUTE_V6_OUT;              v6 = j == DISTRIBUTE_V6_IN || j == DISTRIBUTE_V6_OUT; -	    vty_outln (vty, " %sdistribute-list prefix %s %s %s", +	    vty_out (vty, " %sdistribute-list prefix %s %s %s\n",                       v6 ? "ipv6 " : "",  		     dist->prefix[j],  		     output ? "out" : "in",  | 
