[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #55960] SNMP MIB compiler/code generator does not alwa
From: |
Josh |
Subject: |
[lwip-devel] [bug #55960] SNMP MIB compiler/code generator does not always parse SIZE for textual conventions |
Date: |
Wed, 20 Mar 2019 12:23:29 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 |
Follow-up Comment #2, bug #55960 (project lwip):
Simon,
I've added a minimal MIB to demonstrate the issue in full. It demonstrates the
issue with both the size and range.
I actually described it incorrectly in my original post. An OID with:
SYNTAX DisplayString (SIZE (0..64))
Will generate a test, but it uses the SIZE from the original DisplayString
definition.
The case where no test is generated is when you have your own custom
textual-convention type within your private MIB, and you add a SIZE to that.
A similar issue occurs for custom textual-conventions where the range is used
instead of SIZE (for an Integer32 based type).
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?55960>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/