Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tc: Use correct mask for u32 matcher
Previously, the mac address was inserted into both the VALUE and MASK arguemnt of the u32 matcher. This is of course incorrect, because then only 1-bits of the mac address are actually matched by the kernel. Therefore the correct mask is used instead. The second u32 matcher only uses a 16 bit mask, because the other 16 bits of the 32-bit field contain the ethertype. Fixes: FreifunkFranken#1 Signed-off-by: Fabian Bläse <[email protected]>
- Loading branch information