fix translating snmp fields not in MIB (#1846)
This commit is contained in:
committed by
Cameron Sparr
parent
ce5054c850
commit
9feb639bbd
@@ -128,6 +128,8 @@ func TestFieldInit(t *testing.T) {
|
||||
expectedName string
|
||||
expectedConversion string
|
||||
}{
|
||||
{".1.2.3", "foo", "", ".1.2.3", "foo", ""},
|
||||
{".iso.2.3", "foo", "", ".1.2.3", "foo", ""},
|
||||
{".1.0.0.0.1.1", "", "", ".1.0.0.0.1.1", "server", ""},
|
||||
{".1.0.0.0.1.1.0", "", "", ".1.0.0.0.1.1.0", "server.0", ""},
|
||||
{".999", "", "", ".999", ".999", ""},
|
||||
|
||||
Reference in New Issue
Block a user