Fix always 0 tautologly revealed by gcc46

Approved by:	cperciva
MFC after:	1 week
This commit is contained in:
Eitan Adler 2012-07-08 00:52:54 +00:00
parent 28a7f60741
commit b71073c4bc

View File

@ -1443,7 +1443,7 @@ an_enable_leap_mode(const char *iface, const char *username)
caps = (struct an_ltv_caps *)&areq;
if (!caps->an_softcaps & AN_AUTHTYPE_LEAP) {
if (!(caps->an_softcaps & AN_AUTHTYPE_LEAP)) {
fprintf(stderr, "Firmware does not support LEAP\n");
exit(1);
}