Correct TLV formatting for oui-info #651
Unanswered
systemcrash
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
manpage:
Both oui and content should be a comma-separated list of bytes in hex format.
The manpage describes how to format a TLV. I'm curious whether the following is actually legal?
The oui-info 5555555555 ... according to the man page, is not legally formatted ¯\(ツ)/¯
"Should" leaves room open for interpretation.
And lldpd (v1.0.13) logs the following:
Edit: manpage updated via #652. Absence of commas means that only the first (hex) byte is accepted.
Also, maybe logs get noisier if one includes the oui info, but perhaps that could be included at debug level later.
Beta Was this translation helpful? Give feedback.
All reactions