summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDyks, Axel (XL) <xl@xlsigned.net>2006-11-26 11:13:27 +0100
committerH. Peter Anvin <hpa@zytor.com>2006-12-05 14:36:32 -0800
commit1cb44ce918315db0547a6642b87f9bf2330a13d9 (patch)
tree789b3af3e214e682f64a3d5cedecb843d4162656
parentad475989a50152d84514f503c3a790c64e499e7a (diff)
downloadtftp-hpa-1cb44ce918315db0547a6642b87f9bf2330a13d9.tar.gz
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
-rw-r--r--tftpd/tftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tftpd/tftpd.c b/tftpd/tftpd.c
index 09d8733..8ea41d5 100644
--- a/tftpd/tftpd.c
+++ b/tftpd/tftpd.c
@@ -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);