summaryrefslogtreecommitdiffstats
path: root/hdlcutil/sethdlc.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-23 00:17:31 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-23 00:17:31 +0100
commitdd79732e13819cf3ba546f27f3e0bf171a76b1df (patch)
tree7f9e262b263328ef15643224dad7a5868a743b79 /hdlcutil/sethdlc.c
parentee6eadf12892fe583dab9b4b06e00e32dae82ada (diff)
hdlcutil: Switch version number printed to ax25-tools version.
The version number has not been changed ever since ax25-tools 0.0.1 making the version useless for bug reporting. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'hdlcutil/sethdlc.c')
-rw-r--r--hdlcutil/sethdlc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hdlcutil/sethdlc.c b/hdlcutil/sethdlc.c
index 9675d4e..99e25cd 100644
--- a/hdlcutil/sethdlc.c
+++ b/hdlcutil/sethdlc.c
@@ -45,6 +45,8 @@
#include <net/if.h>
#include "hdrvcomm.h"
+#include <config.h>
+
/* ---------------------------------------------------------------------- */
static unsigned char trace_stat;
@@ -484,7 +486,7 @@ int main(int argc, char *argv[])
char pktbuf[2048];
progname = *argv;
- printf("%s: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
+ printf("%s: Version " VERSION "; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
hdrvc_args(&argc, argv, "bc0");
while ((ret = getopt(argc, argv, "bsdhpc:a")) != -1) {
switch (ret) {