Skip to content

Commit

Permalink
remove extra character from dell iDrac-SMIv1 MIB
Browse files Browse the repository at this point in the history
The dell idrac mib is currently failing on parsing with the following
error. This is because after the `MIB-END` indicitor, there are some
broken characters interrupting the parsing.

```
Bad operator (: At line 13878 in ./mibs//iDRAC-SMIv1.mib
```

This can easily be solved by just removing the last line of this MIB.
  • Loading branch information
fbegyn committed Mar 21, 2024
1 parent 733e5a1 commit 85cd43e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ $(MIBDIR)/.dell:
@echo ">> Downloading dell to $(TMP)"
@curl $(CURL_OPTS) $(CURL_USER_AGENT) -o $(TMP) $(DELL_URL)
@unzip -j -d $(MIBDIR) $(TMP) support/station/mibs/iDRAC-*.mib
# There are some additional characters behind MIB end that break parsing
@sed -i '$ d' $(MIBDIR)/iDRAC-SMIv1.mib
@rm -v $(TMP)
@touch $(MIBDIR)/.dell

Expand Down

0 comments on commit 85cd43e

Please sign in to comment.