How could I send a net-snmp GET request, such that:
netsnmp_check_vb_type
will return SNMP_ERR_WRONGTYPE?
You'd need to modify the agent you were talking to so that it would send back that error code for a GET. No agent out there should be doing that for a GET request unless there was a bug in the agent. In other words: you'd have to put a bug in the agent!
我认为这是不可能的,因为错误的类型检查应仅对SET请求有效。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.