File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,11 @@ func (m *OuiDB) load(path string) error {
84
84
// Split input text into address, short organization name
85
85
// and full organization name
86
86
fields := fieldsRe .FindAllStringSubmatch (text , - 1 )
87
+
88
+ if fields [0 ][2 ] == "IeeeRegi" {
89
+ continue
90
+ }
91
+
87
92
addr := fields [0 ][1 ]
88
93
if fields [0 ][4 ] != "" {
89
94
block .Organization = fields [0 ][4 ]
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ func TestLookup36(t *testing.T) {
60
60
lookup (t , "00:1B:C5:00:E1:55" , "Vigor Electric Corp" )
61
61
}
62
62
63
- func TestLookup32 (t * testing.T ) {
64
- lookup (t , "AA-00-03-01-aa-00 " , "DEC-PROM-AA " )
63
+ func TestLookup40 (t * testing.T ) {
64
+ lookup (t , "20-52-45-43-56-aa " , "Receive " )
65
65
}
66
66
67
67
func TestFormatSingleZero (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments