forked from mirrors/tftp-hpa-google
tftp-hpa does not reload the remap file when receiving SIGHUP
... because the signal handling code is enclosed in "#ifdef HAVE_REGEX" instead of "#ifdef WITH_REGEX" The following patch against head of "network/tftp/tftp-hap.git" on "kernel.org" fixes this issues (you are using blanks for indention and not tabs. right?). Cheers Axel
This commit is contained in:
parent
ad475989a5
commit
1cb44ce918
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ main(int argc, char **argv)
|
|||
if ( caught_sighup ) {
|
||||
caught_sighup = 0;
|
||||
if ( standalone ) {
|
||||
#ifdef HAVE_REGEX
|
||||
#ifdef WITH_REGEX
|
||||
if ( rewrite_file ) {
|
||||
freerules(rewrite_rules);
|
||||
rewrite_rules = read_remap_rules(rewrite_file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue