commit | 8046ba6ec4d6e87bf8da6563c0f3e5e66c4652b3 | [log] [tgz] |
---|---|---|
author | Vincent Bernat <bernat@luffy.cx> | Thu May 31 13:30:28 2012 +0200 |
committer | Vincent Bernat <bernat@luffy.cx> | Mon Jun 25 19:03:23 2012 +0200 |
tree | 1b38b2eae4e1cee042f96a42217b14647159bf0f | |
parent | 0ff4b9c96793898429052de576d8da368e48997e [diff] |
snmp: let handlers accept OID from a lesser prefix Most table handlers do not expect to be given an OID whose prefix is outside what they can handle. This is not a problem with the SMUX implementation since it always correct the OID such that the prefix matches. However, this is not the case for the AgentX implementation. A new function, smux_header_table() is used to do this normalization.