Skip to content
Snippets Groups Projects
Commit 774e0252 authored by Jakob Olsson's avatar Jakob Olsson
Browse files

cntlr_map: compare origin to policy agentid

parent 5e463ee6
No related branches found
No related tags found
No related merge requests found
Pipeline #21590 failed
...@@ -408,7 +408,7 @@ int handle_ap_autoconfig_wsc(void *cntlr, struct cmdu_buff *rx_cmdu) ...@@ -408,7 +408,7 @@ int handle_ap_autoconfig_wsc(void *cntlr, struct cmdu_buff *rx_cmdu)
return -1; return -1;
list_for_each_entry(a, &c->cfg.policylist, list) { list_for_each_entry(a, &c->cfg.policylist, list) {
if (!memcmp(rx_cmdu->dev_macaddr, a->agent_id, 6)) { if (!memcmp(rx_cmdu->origin, a->agent_id, 6)) {
agent_found = true; agent_found = true;
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment