mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix always 0 tautologly revealed by gcc46
Approved by: cperciva MFC after: 1 week
This commit is contained in:
parent
28a7f60741
commit
b71073c4bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue