Actions
Bug #10432
closedArpwatch show unknown vendor
Start date:
04/05/2020
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Affected Version:
2.5.x
Affected Plus Version:
Affected Architecture:
Description
arpwatch.inc
line 164
if (preg_match("/^$oui\s+(.*)$/m", file_get_contents(ARPWATCH_LOCAL_DIR.'/ethercodes.dat'), $matches)) {
$vendor = $matches1;
} else {
$vendor = 'unknown';
}
the array is always empty,
ethercodes.dat is available and populated
Files
Updated by Manuel Piovan over 4 years ago
this is due to $oui = strtoupper(substr($mac, 0, 8));
the content of ethercodes.dat is not uppercase
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho over 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Viktor Gurov over 4 years ago
- Status changed from Feedback to Resolved
shows correct vendors on 2.4.5/2.5 with arpwatch 0.2.0_1
Actions