Fix always 0 tautologly revealed by gcc46
Approved by: cperciva MFC after: 1 week
This commit is contained in:
parent
28a7f60741
commit
b71073c4bc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user