Skip to content

Commit

Permalink
Merge pull request #41 from frsk/master
Browse files Browse the repository at this point in the history
Minor change to configure.ac, and adding support for flushing cache using SIGUSR2
  • Loading branch information
gamelinux committed Jan 15, 2015
2 parents 09ee606 + e435361 commit a6c7e26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ AS_IF([test "x$enable_pfring" = "xyes"], [
LDFLAGS="${LDFLAGS} -L${with_pfring_libraries}"
fi
LDFLAGS="${LDFLAGS} -lnuma -lrt -lpfring"
LDFLAGS="${LDFLAGS} -lpfring -lnuma -lrt"
# Checks for libnuma
AC_CHECK_HEADER(numa.h,,LIBNUMA="no")
Expand Down
1 change: 1 addition & 0 deletions src/passivedns.c
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,7 @@ int main(int argc, char *argv[])
signal(SIGALRM, sig_alarm_handler);
signal(SIGHUP, reopen_log_files);
signal(SIGUSR1, print_pdns_stats);
signal(SIGUSR2, expire_all_dns_records);

#define ARGS "i:r:c:nyYjJl:L:d:hb:Dp:C:P:S:f:X:u:g:T:V"

Expand Down

0 comments on commit a6c7e26

Please sign in to comment.