Skip to content

Commit

Permalink
Use (apparently) correct MAC bits
Browse files Browse the repository at this point in the history
MAC generation in Gluon has a base number with an added index of 0-7.
https://github.com/freifunk-gluon/gluon/blob/6a0ca58fc3fd0a86292274a4a0fd47a2cf474cff/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua#L175

It is not really clear which index numbers are used for the public AP interface
MAC. For one domain it works with 0, for another it works with 3 (this is 2.4Ghz).

So let's use those.
  • Loading branch information
pixelistik committed Apr 11, 2017
1 parent 4ef6993 commit b3b3a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/nodeListTransform.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
var extendedMacList = [];

macList.forEach(function (node) {
extendedMacList.push(nodeWithDerivedClientMac(node, 0));
extendedMacList.push(nodeWithDerivedClientMac(node, 3));
extendedMacList.push(nodeWithDerivedClientMac(node, 4));
});

return extendedMacList.map(function (node) {
Expand Down

0 comments on commit b3b3a6c

Please sign in to comment.