mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Compare the address of the array, not the array.
Found with: Coverity Prevent(tm) CID: 3690 MFC after: 3 days
This commit is contained in:
parent
db30953482
commit
298633759a
1 changed files with 1 additions and 1 deletions
|
|
@ -1013,7 +1013,7 @@ match_bss(struct ieee80211vap *vap,
|
|||
*/
|
||||
if (se->se_capinfo & (IEEE80211_CAPINFO_IBSS|IEEE80211_CAPINFO_ESS))
|
||||
fail |= MATCH_CAPINFO;
|
||||
else if (se->se_meshid == NULL)
|
||||
else if (&se->se_meshid == NULL)
|
||||
fail |= MATCH_MESH_NOID;
|
||||
else if (ms->ms_idlen != 0 &&
|
||||
match_id(se->se_meshid, ms->ms_id, ms->ms_idlen))
|
||||
|
|
|
|||
Loading…
Reference in a new issue