Closed McBane87 closed 5 years ago
Hi,
I think this makes totally sense to me. What is the 250 based on?
Cheers, Marius
Was randomly chosen. I only wanted to make sure the vlaue is big enough :-)
My example value, when I relized this kind of bug, was 85 chars long. So I guess something smaller would also be okay.
Check, I looks like the ifDescr and ifAlias are both using DisplayString from SNMPv2-TC which says: "Any object defined using this syntax may not exceed 255 characters in length". So 250 was a good shot ;-)
It looks like you have the changes ready. Do you want to provide a PR for that?
Cheers, Marius
https://tools.ietf.org/html/draft-ietf-snmpv2-tc-02 (DisplayName) https://www.ietf.org/rfc/rfc1213.txt (ifDescr) https://www.ietf.org/rfc/rfc2233.txt (IfXEntry, ifAlias)
He, lucky guess^^
No, Thanks. You can add those small changes using my patch from above, if want to :-)
Cause name is the same, I just increase the constant. Still works? I have no environment to test ;-)
Yes, thank you. Looks like it is working :-)
Alias should have more chars in my opinion: