From: Jo-Philipp Wich Date: Mon, 24 Aug 2009 13:51:49 +0000 (+0000) Subject: libs/iwinfo: ignore proprietary ciphers or auth suites - we can't handle them anyway X-Git-Tag: 0.10.0~1158 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0e88acfd4ef3abd5af048fda14810a207681c913;p=oweals%2Fluci.git libs/iwinfo: ignore proprietary ciphers or auth suites - we can't handle them anyway --- diff --git a/libs/iwinfo/src/iwinfo_lualib.c b/libs/iwinfo/src/iwinfo_lualib.c index d9c82b1ec..0bd2fa59a 100644 --- a/libs/iwinfo/src/iwinfo_lualib.c +++ b/libs/iwinfo/src/iwinfo_lualib.c @@ -158,39 +158,33 @@ static int iwinfo_L_scanlist(lua_State *L, int (*func)(const char *, char *, int lua_setfield(L, -2, "wep"); lua_newtable(L); - for( j = 0, y = 1; j < 8; j++ ) + for( j = 0, y = 1; j < IW_IE_CYPHER_NUM; j++ ) { if( e->crypto.group_ciphers & (1<crypto.pair_ciphers & (1<crypto.auth_suites & (1<