Add IPSIpAddress syntax to ipaddr conversion in snmp plugin (#4471)

This commit is contained in:
wegel 2018-07-30 15:31:23 -04:00 committed by Greg
parent 3d1c650c54
commit 06d5501d92
1 changed files with 1 additions and 1 deletions

View File

@ -1010,7 +1010,7 @@ func snmpTranslateCall(oid string) (mibName string, oidNum string, oidText strin
switch tc { switch tc {
case "MacAddress", "PhysAddress": case "MacAddress", "PhysAddress":
conversion = "hwaddr" conversion = "hwaddr"
case "InetAddressIPv4", "InetAddressIPv6", "InetAddress": case "InetAddressIPv4", "InetAddressIPv6", "InetAddress", "IPSIpAddress":
conversion = "ipaddr" conversion = "ipaddr"
} }
} else if strings.HasPrefix(line, "::= { ") { } else if strings.HasPrefix(line, "::= { ") {