diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-30 16:27:04 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-30 16:27:04 +0200 |
commit | 4fb25c53b8d75b26fa20bf90bf33986476fd0e78 (patch) | |
tree | 1390a1116539fdc0135e12e1afc795a9a91a8543 /vtysh | |
parent | ospf6d: scrubbed some argc CHECK MEs (diff) | |
download | frr-4fb25c53b8d75b26fa20bf90bf33986476fd0e78.tar.xz frr-4fb25c53b8d75b26fa20bf90bf33986476fd0e78.zip |
bgpd: combine special cases for vrf "all"
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'vtysh')
-rw-r--r-- | vtysh/vtysh.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 09f761a3f..ec94c37d6 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -2177,7 +2177,6 @@ DEFUN (vtysh_write_terminal, "Write running configuration to memory, network, or terminal\n" "Write to terminal\n") { - /* CHECK ME argc referenced below */ u_int i; char line[] = "write terminal\n"; FILE *fp = NULL; @@ -2199,10 +2198,6 @@ DEFUN (vtysh_write_terminal, VTY_NEWLINE); vty_out (vty, "!%s", VTY_NEWLINE); - for (i = 0; i < array_size(vtysh_client); i++) - if ((argc < 1 ) || (begins_with(vtysh_client[i].name, argv[0]))) - vtysh_client_config (&vtysh_client[i], line); - /* Integrate vtysh specific configuration. */ vtysh_config_write (); |