summaryrefslogtreecommitdiff
path: root/vtysh/vtysh.c
AgeCommit message (Collapse)Author
2004-10-20Don't popen pager if command is "exit". Fixes "vtysh screws up my terminalhasso
if I exit" issue.
2004-10-112004-09-17 Paul Jakma <paul@dishone.st>paul
* vtysh.c: (vtysh_client_execute) fix the sync fix. The 4th and final sync byte is not ASCII NULL, it's actually a status integer, and only ASCII NULL if CMD_SUCCESS is returned by daemon. Fix pointed out by Hasso.
2004-10-11Fix warnings here.hasso
2004-10-07Vtysh compiles cleanly as well.hasso
2004-10-03Big vtysh cleanup. See changelogs for details.hasso
2004-09-26Compiler warning fix.hasso
2004-09-172004-09-17 Paul Jakma <paul@dishone.st>paul
* vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily split across reads, dont get confused by this and block forever.
2004-08-27Brown paperbag, please. Don't segfault if VTYSH_PAGER isn't defined.hasso
2004-08-27Make "terminal length <0-512>" command work in vtysh.hasso
2004-08-26More vtysh fixes. Specifying configuration from command line works now.hasso
2004-08-26Vtysh cleanup part 2. No any functional changes yet except VTYSH_INTERFACE.hasso
2004-08-25Cleaning up whitespace mess mostly caused by my patches. Biggerhasso
reorganization of this spagetti will follow soon.
2004-05-09Workaround for Bugzilla #58.hasso
2004-03-04Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGERhasso
from vtysh ([quagga-dev 932]).
2003-12-23*** empty log message ***hasso
2003-12-222003-12-22 Christian Hammers <ch@lathspell.de>gdt
* configure.ac (and everywhere a regular file is opened for writing): use file permissions from configure rather than compiled-in umask.
2003-06-25Add IPv6 ping and traceroute.hasso
2003-05-25Just "write" command without any parameters writes conf to file.hasso
2003-05-23slight addition to hasso's previous no_interface patch.paul
2003-05-23From: Hasso Tepper <hasso@estpak.ee>paul
Add the 'no interface' command to all the daemons and vtysh. now it's possible to delete interface from routeing daemons as well only if it doesn't exist in os. http://hasso.linux.ee/zebra/ht-no_interface_fix.patch
2003-05-23Undo Hasso last patch, about to apply a slightly updated patch.paul
2003-05-23From: Hasso Tepper <hasso@estpak.ee>paul
http://hasso.linux.ee/zebra/ht-no_interface-23052003.patch Add the 'no interface' command to all the daemons and vtysh.
2003-05-21From: Paul Jakma <paulj@alphyra.ie>paul
Subject: [zebra 19125] vtysh bogus perms check vtysh checks that the zebra.vty socket uid is == to its own euid, this is bogus - let the kernel decide whether permissions match, vtysh shouldnt try second guess. (this becomes noticeable when neither zebra nor vtysh are run as root :) )
2003-05-01From: Sergiy Vyshnevetskiy <serg@vostok.net>paul
Subject: [zebra 18941] Re: [PATCH] misc patch Program shouldn't terminate on pager execution failure. We can also use "PAGER" environment variable - it's very common.
2003-04-19Hasso Tepperpaul
http://hasso.linux.ee/zebra/ht-routemap-18042003_5.patch Trivial fixes to sync daemon's route-map commands to have same syntax. Fixes a lot of errors with "match ..." and "set ..." commands when using vtysh.
2003-04-18Fix up vtysh.c compile warningspaul
(following from initial patches by Amir & Sergey Vyshnevetskiy ([zebra 18689])
2003-04-07Change vty socket path defines to the global definespaul
2003-03-28Add 'no description' commandpaul
2003-03-252003-03-25 Paul Jakma <paul@dishone.st>paul
* sync to latest zebra CVS * spec file: updated and added define for ospf-api/client NB: OSPF-API has been broken by the zebra.org changes, which has added struct ospf * as a new arg to many functions
2003-03-01Add the interface node 'description' command.paul
2003-01-25Small fix (free integrate_sav) and addition of an ssh command.paul
2003-01-23Replace _SC_PAGESIZE with the far more portable getpagesize().paul
(needed, eg, for Darwin). Kris Foster <kris@krweb.net>
2002-12-13Added vtysh patch to allow 'write file' command to write eitherpaul
per-daemon and/or integrated config file
2002-12-13Initial revisionpaul