walk(): remove baseOid fallback, default to .1.3.6.1 #524
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Deprecates the legacy use of baseOid (.1.3.6.1.2.1) in walk(), which previously restricted default walks to MIB-2. When no rootOid is provided, we now default to .1.3.6.1, the IANA-assigned 'internet' subtree, which includes both standard (e.g. MIB-2) and vendor-specific branches. This aligns with X.660 OID structure and Net-SNMP behavior, and avoids encoding errors caused by incomplete OIDs.
Fixes #486
Originally reported by Debianov.