Skip to content
Snippets Groups Projects
Commit d8dddabf authored by nrbffs's avatar nrbffs
Browse files

more fixes

parent 5a187936
No related branches found
No related tags found
No related merge requests found
......@@ -442,7 +442,7 @@ static int parse_gws_global(struct nl_msg *msg,
orig = nla_data(attrs[BATADV_ATTR_ORIG_ADDRESS]);
best = nla_data(attrs[BATADV_ATTR_FLAG_BEST]);
MAC2ETHER(mac_a, addr);
MAC2ETHER(mac_a, orig);
DEBUG_MSG("Found gateway " F_MAC " (best=%d)"
F_MAC_VAR(mac_a), *best);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment