summaryrefslogtreecommitdiffstats
path: root/ax25mond/ax25mond.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-23 00:29:14 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-23 00:38:04 +0100
commit73084915ad5bc772ad9278c8292caf7a42cf8b65 (patch)
tree39327346e31df20116ccb35d69c37bcac084cb12 /ax25mond/ax25mond.c
parent90768aa7d4d7f7529adde2b235da969a8ab6d34e (diff)
ax25mond: Switch version number printed to ax25-apps version.
The version number has not been changed ever since the oldest version of ax25-apps still available making it useless for bug reporting. Worse, using a symbol named VERSION is an autoconf-based package for anything but the autoconf-defined symbol is missleading. the version useless for bug reporting. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25mond/ax25mond.c')
-rw-r--r--ax25mond/ax25mond.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ax25mond/ax25mond.c b/ax25mond/ax25mond.c
index e27f6aa..c80b7f0 100644
--- a/ax25mond/ax25mond.c
+++ b/ax25mond/ax25mond.c
@@ -20,7 +20,6 @@
/*--------------------------------------------------------------------------*/
-#define VERSION "1.0"
#define CONFFILE "/etc/ax25/ax25mond.conf"
#define MAX_SOCKETS 5
#define MAX_CONNECTS 50
@@ -47,6 +46,8 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <config.h>
+
/* For older kernels */
#ifndef PF_PACKET
#define PF_PACKET PF_INET