Re: snmpd_metrics: Don't stop walking on empty table

2022-11-01 Thread Martijn van Duren
ping On Wed, 2022-10-26 at 10:45 +0200, Martijn van Duren wrote: > Found by Alec on misc@. > When there's an empty table pfta_get_nextaddr jumps to fail and > mib.c returns an agentx_varbind_notfound not libagentx, resulting > in the upper code assuming that the object has no more entries > after

Re: snmpd_metrics: Don't stop walking on empty table

2022-10-26 Thread Martijn van Duren
I should've probably been more clear: This is about OPENBSD-PF-MIB's pfTblAddrTable. On Wed, 2022-10-26 at 10:45 +0200, Martijn van Duren wrote: > Found by Alec on misc@. > When there's an empty table pfta_get_nextaddr jumps to fail and > mib.c returns an agentx_varbind_notfound not libagentx,

snmpd_metrics: Don't stop walking on empty table

2022-10-26 Thread Martijn van Duren
Found by Alec on misc@. When there's an empty table pfta_get_nextaddr jumps to fail and mib.c returns an agentx_varbind_notfound not libagentx, resulting in the upper code assuming that the object has no more entries after that. Note that this is not just an issue of the new code, but apparently