X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=iwinfo_lua.c;fp=iwinfo_lua.c;h=a2fe9d18ffbfe630fe3b3a5e2c3409e39d10c72c;hb=0dad3e6660594592071ae49a77a907e2b11a98fe;hp=e49e454d3a81e12a58e5bb546b8ad63ecc59be3b;hpb=705d3b5cc30ed1ac3b2fed131259bcbc61177e41;p=project%2Fiwinfo.git diff --git a/iwinfo_lua.c b/iwinfo_lua.c index e49e454..a2fe9d1 100644 --- a/iwinfo_lua.c +++ b/iwinfo_lua.c @@ -61,9 +61,15 @@ static char * iwinfo_crypto_print_ciphers(int ciphers) if (ciphers & IWINFO_CIPHER_CCMP) pos += sprintf(pos, "CCMP, "); + if (ciphers & IWINFO_CIPHER_CCMP256) + pos += sprintf(pos, "CCMP-256, "); + if (ciphers & IWINFO_CIPHER_GCMP) pos += sprintf(pos, "GCMP, "); + if (ciphers & IWINFO_CIPHER_GCMP256) + pos += sprintf(pos, "GCMP-256, "); + if (ciphers & IWINFO_CIPHER_WRAP) pos += sprintf(pos, "WRAP, ");