Skip to content

Commit

Permalink
Issue #33 makefile fix
Browse files Browse the repository at this point in the history
Added -D_BSD_SOURCE to CFLAGS in makefile definition.
  • Loading branch information
airwoflgh committed Dec 17, 2015
1 parent 18ee0c9 commit 30f5142
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions ChangeLog
@@ -1,5 +1,7 @@
VERSION DESCRIPTION
-----------------------------------------------------------------------------
0.7.8 - Fix for Issue #33, #34 and #35 contributed by Alexander
Rumyanstev.
0.7.7 - Fix for Issue #7 & #17 contributed by Michael G�hler.
All IPs assigned to a single interface are now listened on.
- Fix for compile warning on OSX where daemon() is deprecated.
Expand All @@ -17,11 +19,11 @@ VERSION DESCRIPTION
- Fixed PCAP filter for PSH flag detection.
- Patches from Christos Triantafyllidis
- Updated FSF address.
0.7.2 - Patches from Paul Rogers (paul.rogers@flumps.org)
0.7.2 - Patches from Paul Rogers
- Applied missing fixes from issue #16 - OpenBSD build
issues, reordering of headers, scoping DLT_LINUX_SLL for
Linux only, for -> while loop in sniff() cleanup.
0.7.1 - Patches from Paul Rogers (paul.rogers@flumps.org)
0.7.1 - Patches from Paul Rogers
- Fixed issue #2 - SIGHUP (reload) now listens for new
sequences in the config file.
- Fixed issue #26 - knockd now fails if a malformed config
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
@@ -1,5 +1,5 @@
AM_CPPFLAGS=-D_DEFAULT_SOURCE
AM_CFLAGS=-g -Wall -pedantic -fno-exceptions
AM_CFLAGS=-g -Wall -pedantic -fno-exceptions -D_BSD_SOURCE

bin_PROGRAMS = knock
man_MANS = doc/knock.1
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ(2.60)
AC_INIT([knock], [0.7.7], [https://github.com/jvinet/knock/issues])
AC_INIT([knock], [0.7.8], [https://github.com/jvinet/knock/issues])
AM_INIT_AUTOMAKE([dist-xz no-dist-gzip foreign subdir-objects])

AC_CONFIG_HEADER([config.h])
Expand Down
2 changes: 1 addition & 1 deletion src/knockd.c
Expand Up @@ -62,7 +62,7 @@
extern int daemon(int, int);
#endif

static char version[] = "0.7.7";
static char version[] = "0.7.8";

#define SEQ_TIMEOUT 25 /* default knock timeout in seconds */
#define CMD_TIMEOUT 10 /* default timeout in seconds between start and stop commands */
Expand Down

0 comments on commit 30f5142

Please sign in to comment.