Ondrej Zajicek (work) 
							
						 
					 
					
						
						
							
						
						d033e6327d 
					 
					
						
						
							
							CLI: Fix continuation lines after final one  
						
						 
						
						... 
						
						
						
						Continuation lines may use short form (with space instead of message
number), but this should not be done when previous line is final.
Thanks to Kenth Eriksson for the bugreport and analysis. 
						
						
					 
					
						2019-11-26 16:43:09 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Maria Matejka 
							
						 
					 
					
						
						
							
						
						2ab680c697 
					 
					
						
						
							
							Fixed an undefined symbol bug in CLI introduced by filter refactoring  
						
						 
						
						
						
						
					 
					
						2019-03-20 16:50:58 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Zajicek (work) 
							
						 
					 
					
						
						
							
						
						a82f692e58 
					 
					
						
						
							
							Nest: Trivial whitespace cleanup  
						
						 
						
						
						
						
					 
					
						2018-02-07 17:12:33 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Zajicek (work) 
							
						 
					 
					
						
						
							
						
						801fd81efe 
					 
					
						
						
							
							Merge branch 'master' into int-new  
						
						 
						
						
						
						
					 
					
						2017-05-31 14:12:03 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Zajicek (work) 
							
						 
					 
					
						
						
							
						
						33f7fbc42d 
					 
					
						
						
							
							CLI: Fix bug in symbol handling introduced in previous patches  
						
						 
						
						
						
						
					 
					
						2017-05-31 14:11:40 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jan Moskyto Matejka 
							
						 
					 
					
						
						
							
						
						05d47bd53e 
					 
					
						
						
							
							Linpool: default allocation size  
						
						 
						
						
						
						
					 
					
						2017-05-16 15:34:57 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jan Moskyto Matejka 
							
						 
					 
					
						
						
							
						
						f8d44b01df 
					 
					
						
						
							
							Nest: split route show into separate file  
						
						 
						
						
						
						
					 
					
						2017-05-15 12:10:51 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pavel Tvrdík 
							
						 
					 
					
						
						
							
						
						ae80a2de95 
					 
					
						
						
							
							unsigned [int] -> uint  
						
						 
						
						
						
						
					 
					
						2015-06-08 02:24:08 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Zajicek 
							
						 
					 
					
						
						
							
						
						a92cf57dd6 
					 
					
						
						
							
							Implements undo command and optional timeout for configuration  
						
						 
						
						... 
						
						
						
						Several new configure command variants:
configure undo - undo last reconfiguration
configure timeout - configure with scheduled undo if not confirmed in timeout
configure confirm - confirm last configuration
configure check - just parse and validate config file 
						
						
					 
					
						2012-12-26 12:40:48 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Zajicek 
							
						 
					 
					
						
						
							
						
						4be266a983 
					 
					
						
						
							
							Implements wildcard matching in config file include.  
						
						 
						
						... 
						
						
						
						Also fixes some minor bugs in include.
Thanks Kelly Cochran for suggestion and draft patch. 
						
						
					 
					
						2012-07-18 19:29:33 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Zajicek 
							
						 
					 
					
						
						
							
						
						9b7fdfc84a 
					 
					
						
						
							
							Fixes for include.  
						
						 
						
						
						
						
					 
					
						2011-10-10 01:41:08 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Filip 
							
						 
					 
					
						
						
							
						
						48ec367aab 
					 
					
						
						
							
							Configuration can include other files.  
						
						 
						
						
						
						
					 
					
						2011-09-11 21:21:47 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Zajicek 
							
						 
					 
					
						
						
							
						
						fdf16eb658 
					 
					
						
						
							
							Prints full community lists during 'show route all'.  
						
						 
						
						
						
						
					 
					
						2011-07-03 19:43:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Zajicek 
							
						 
					 
					
						
						
							
						
						e81b440f68 
					 
					
						
						
							
							Fix configure to enable warnings and fix most of them.  
						
						 
						
						
						
						
					 
					
						2010-02-21 14:34:53 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ondrej Zajicek 
							
						 
					 
					
						
						
							
						
						6baef17ecf 
					 
					
						
						
							
							Fixes bug in CLI TX buffer management.  
						
						 
						
						
						
						
					 
					
						2009-07-14 14:18:54 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						277a34eff1 
					 
					
						
						
							
							Small correction to va_start/va_end in cli_printf (va_end was missing).  
						
						 
						
						... 
						
						
						
						(Andreas) 
						
						
					 
					
						2004-05-31 18:08:50 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						725270cb1d 
					 
					
						
						
							
							Fixes for the programmer's manual.  
						
						 
						
						
						
						
					 
					
						2000-06-08 12:37:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						58f7d004fd 
					 
					
						
						
							
							Fixes to the progdoc.  
						
						 
						
						
						
						
					 
					
						2000-06-07 13:25:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						2e9b24211a 
					 
					
						
						
							
							Spelling fixes to progdoc.  
						
						 
						
						
						
						
					 
					
						2000-06-07 12:29:08 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						cdb898cfd4 
					 
					
						
						
							
							Minor changes to the progdocs.  
						
						 
						
						
						
						
					 
					
						2000-06-03 18:23:27 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						3d675cdbe7 
					 
					
						
						
							
							More documentation.  
						
						 
						
						
						
						
					 
					
						2000-06-03 14:40:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						4761efdb43 
					 
					
						
						
							
							Tracing of CLI connections/commands can be now controlled  
						
						 
						
						... 
						
						
						
						by `debug commands <level>' in the configuration. Level 0 means
no tracing, 1 means connections only, 2 includes all commands. 
						
						
					 
					
						2000-05-29 22:10:18 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						f75e3bbc01 
					 
					
						
						
							
							Fixed a couple of nasty CLI bugs which were triggered on long or multi-part  
						
						 
						
						... 
						
						
						
						outputs. It took a whole evening to hunt them down, but now the CLI seems
to work fine.
Now I run three BGP connections with several thousand routes! 
						
						
					 
					
						2000-04-27 22:35:08 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						221135d6bf 
					 
					
						
						
							
							Include "lib/string.h" instead of <string.h>. It should give us bzero()  
						
						 
						
						... 
						
						
						
						and other non-portable functions on all systems. 
						
						
					 
					
						2000-03-31 23:30:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						c7814f01fc 
					 
					
						
						
							
							Enabled short continuations.  
						
						 
						
						
						
						
					 
					
						2000-03-04 21:26:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						34350a5270 
					 
					
						
						
							
							Implemented echoing of log messages to CLI connections. Just try `echo all'.  
						
						 
						
						
						
						
					 
					
						1999-12-06 12:34:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						f611f0ee82 
					 
					
						
						
							
							Reset temporary parser data before parsing, not afterwards. This enables  
						
						 
						
						... 
						
						
						
						deferred CLI command handlers to store their temporary data in the CLI
parsing pool. 
						
						
					 
					
						1999-12-01 15:07:56 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						1d2664a4d4 
					 
					
						
						
							
							Remember protocol instance in proto_config and use that for  
						
						 
						
						... 
						
						
						
						`show protocols <name>'. 
						
						
					 
					
						1999-11-30 14:04:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						10b5baaef3 
					 
					
						
						
							
							Don't use continuation shortcuts until real client is written.  
						
						 
						
						
						
						
					 
					
						1999-11-30 12:56:52 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						ffb59d243a 
					 
					
						
						
							
							Command line interface now works.  
						
						 
						
						
						
						
					 
					
						1999-11-17 12:00:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						bc2fb68098 
					 
					
						
						
							
							Parse CLI commands. We use the same parser as for configuration files (because  
						
						 
						
						... 
						
						
						
						we want to allow filter and similar complex constructs to be used in commands
and we should avoid code duplication), only with CLI_MARKER token prepended
before the whole input.
Defined macro CF_CLI(cmd, args, help) for defining CLI commands in .Y files.
The first argument specifies the command itself, the remaining two arguments
are copied to the help file (er, will be copied after the help file starts
to exist). This macro automatically creates a skeleton rule for the command,
you only need to append arguments as in:
	CF_CLI(STEAL MONEY, <$>, [[Steal <$> US dollars or equivalent in any other currency]]): NUM {
		cli_msg(0, "%d$ stolen", $3);
	} ;
Also don't forget to reset lexer state between inputs. 
						
						
					 
					
						1999-10-31 17:47:47 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						b9672a845f 
					 
					
						
						
							
							The CLI I/O functions work as desired.  
						
						 
						
						
						
						
					 
					
						1999-10-31 15:43:44 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Martin Mares 
							
						 
					 
					
						
						
							
						
						7d3aab1c16 
					 
					
						
						
							
							First steps of the Command Line Interface: I/O routines.  
						
						 
						
						
						
						
					 
					
						1999-10-29 12:10:10 +00:00