From 63444196dd1edb154f81d9418b3d0bc2367163e5 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 19 Apr 2009 01:05:53 +0100 Subject: [PATCH] Imported Upstream version 1.5~pre3~a --- ChangeLog | 3 +++ ap-gl/auth.c | 9 +++++++++ configure | 2 +- configure.in | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78b80e1..928f655 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2005-01-16 Jan Rafaj + * ap-gl/auth.c: small bugfix + 2005-01-15 Roman Festchook * src/ap-rrd.c: added utility to store stats from AP into RRD database * src/wlan.c: added 'ACK timeout' additional info into [T] SIFS time (msec) diff --git a/ap-gl/auth.c b/ap-gl/auth.c index 1493629..c1c800b 100644 --- a/ap-gl/auth.c +++ b/ap-gl/auth.c @@ -159,7 +159,10 @@ void atmel_auth() print_helperr(ERR_RET); goto exit; } + if (i < 0) + break; + if (varbinds[0].len_val == 12) { if (AuthMac) free(AuthMac); @@ -220,6 +223,12 @@ choose_view: } else { print_help(MAC_NONE_HELP); } + + if (i < 0) { + mvwaddstr(main_sub, 3, 1, _("(insufficient community used)")); + wrefresh(main_sub); + } + noecho(); while (1) { diff --git a/configure b/configure index e1e08a1..ad385e4 100755 --- a/configure +++ b/configure @@ -1551,7 +1551,7 @@ fi # Define the identity of the package. PACKAGE=ap-utils - VERSION=1.5pre2 + VERSION=1.5pre3a cat >>confdefs.h <<_ACEOF diff --git a/configure.in b/configure.in index 70e20f0..2ba7289 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ # AC_INIT([lib/snmp.c]) AC_CONFIG_AUX_DIR(config) -AM_INIT_AUTOMAKE(ap-utils, 1.5pre2) +AM_INIT_AUTOMAKE(ap-utils, 1.5pre3a) AM_CONFIG_HEADER(config.h) ac_aux_dir=config -- 2.39.5