forked from mirrors/tftp-hpa-google
		
	tftpd: allow IPv4/6-specific remapping rules
Allow remapping rules to be conditional on IPv4 vs IPv6. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
		
							parent
							
								
									c89a63a441
								
							
						
					
					
						commit
						18ee96a03f
					
				
					 3 changed files with 28 additions and 13 deletions
				
			
		|  | @ -35,7 +35,7 @@ struct rule *parserulefile(FILE *); | |||
| void freerules(struct rule *); | ||||
| 
 | ||||
| /* Execute a rule set on a string; returns a malloc'd new string. */ | ||||
| char *rewrite_string(const char *, const struct rule *, char, | ||||
| char *rewrite_string(const char *, const struct rule *, char, int, | ||||
|                      match_pattern_callback, const char **); | ||||
| 
 | ||||
| #endif                          /* WITH_REGEX */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 H. Peter Anvin
						H. Peter Anvin