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 {
case "MacAddress", "PhysAddress":
conversion = "hwaddr"
case "InetAddressIPv4", "InetAddressIPv6", "InetAddress":
case "InetAddressIPv4", "InetAddressIPv6", "InetAddress", "IPSIpAddress":
conversion = "ipaddr"
}
} else if strings.HasPrefix(line, "::= { ") {