David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							2b64873d24 
							
						 
					 
					
						
						
							
							*: generously apply const  
						
						 
						
						... 
						
						
						
						const const const your boat, merrily down the stream...
Signed-off-by: David Lamparter <equinox@diac24.net> 
						
					 
					
						2019-12-02 15:01:29 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							c7179009cf 
							
						 
					 
					
						
						
							
							lib: use snprintfrr() in "hidden" printfs  
						
						 
						
						... 
						
						
						
						We need to be calling snprintfrr() instead of snprintf() in places that
wrap snprintf in some user-exposed way; otherwise the extensions won't
be available for those functions.
Signed-off-by: David Lamparter <equinox@diac24.net> 
						
					 
					
						2019-06-12 19:35:43 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Quentin Young 
							
						 
					 
					
						
						
						
						
							
						
						
							0ade23e575 
							
						 
					 
					
						
						
							
							lib: protect termtable from bad fmt string  
						
						 
						
						... 
						
						
						
						Termtable can write out-of-bounds if given a format string with too many
column separators.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com> 
						
					 
					
						2019-01-28 20:44:20 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								F. Aragon 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7fe96307ee 
							
						 
					 
					
						
						
							
							bgpd lib ospf6d pbrd tests zebra: shadowing fixes  
						
						 
						
						... 
						
						
						
						This fixes all remaining local variable shadowing cases
Signed-off-by: F. Aragon <paco@voltanet.io> 
						
					 
					
						2018-09-13 17:37:08 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								F. Aragon 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c683bd446c 
							
						 
					 
					
						
						
							
							lib vtysh zebra: variable shadowing fixes  
						
						 
						
						... 
						
						
						
						Signed-off-by: F. Aragon <paco@voltanet.io> 
						
					 
					
						2018-09-12 12:27:38 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							a97986ffba 
							
						 
					 
					
						
						
							
							*: fix compiler warnings  
						
						 
						
						... 
						
						
						
						Specifically, gcc 4.2.1 on OpenBSD 6.0 warns about these;  they're bogus
(gcc 4.2, being rather old, isn't quite as "intelligent" as newer
versions; the newer ones apply more logic and less warnings.)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> 
						
					 
					
						2017-08-26 01:46:40 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								whitespace / reindent 
							
						 
					 
					
						
						
						
						
							
						
						
							d62a17aede 
							
						 
					 
					
						
						
							
							*: reindent  
						
						 
						
						... 
						
						
						
						indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> 
						
					 
					
						2017-07-17 14:04:07 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Quentin Young 
							
						 
					 
					
						
						
						
						
							
						
						
							94b989402f 
							
						 
					 
					
						
						
							
							lib: termtable coverity warnings  
						
						 
						
						... 
						
						
						
						Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com> 
						
					 
					
						2017-06-16 19:04:57 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Quentin Young 
							
						 
					 
					
						
						
						
						
							
						
						
							0f2b0a3893 
							
						 
					 
					
						
						
							
							lib: termtable MTYPE_TMP -> MTYPE_TTABLE  
						
						 
						
						... 
						
						
						
						And some style nits.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com> 
						
					 
					
						2017-06-16 02:10:34 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Quentin Young 
							
						 
					 
					
						
						
						
						
							
						
						
							f051edd156 
							
						 
					 
					
						
						
							
							lib: add table generator  
						
						 
						
						... 
						
						
						
						Allows for easy preparation of tabular output.
Supports:
 -- Padding
 -- Alignment
 -- Styling 
						
					 
					
						2017-06-16 02:02:42 +00:00