X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ap-utils.git;a=blobdiff_plain;f=lib%2Faps.c;h=234a2c2ed4b33d05834add6c92e6f00ff42def75;hp=c37a1fdc6eabce05d7c90a620ef0453b9abbee83;hb=17cd5711411f45df26b33c51288780627b7377e2;hpb=63444196dd1edb154f81d9418b3d0bc2367163e5 diff --git a/lib/aps.c b/lib/aps.c index c37a1fd..234a2c2 100644 --- a/lib/aps.c +++ b/lib/aps.c @@ -2,6 +2,7 @@ * aps.c from Access Point SNMP Utils for Linux * * Copyright (c) 2002 Roman Festchook + * Copyright (c) 2004 Jan Rafaj * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License Version 2 from @@ -29,7 +30,7 @@ #define KNOWN_APS _("Known Access Points") extern WINDOW *main_win, *main_sub /* *win_for_menu */; -extern short ap_type; +extern short ap_type, ap_vendorext; extern int sockfd, atmel410_filter; extern struct in_addr ap_ip; @@ -316,7 +317,7 @@ show_stats: } break; case 2: - sprintf(message, "%3d", -96 + app->q1); + sprintf(message, "%3d", dbmconv(app->q1)); mvwaddstr(main_sub, aps_num+1, 56, message); if (ap_type == ATMEL410) { sprintf(message, "%3d%%",