Skip to content

Commit a55c2b6

Browse files
authored
remove extra character from dell iDrac-SMIv1 MIB (#1141)
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. Signed-off-by: Francis Begyn <francis@begyn.be>
1 parent c35a87e commit a55c2b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

generator/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ $(MIBDIR)/.dell:
183183
@echo ">> Downloading dell to $(TMP)"
184184
@curl $(CURL_OPTS) $(CURL_USER_AGENT) -o $(TMP) $(DELL_URL)
185185
@unzip -j -d $(MIBDIR) $(TMP) support/station/mibs/iDRAC-*.mib
186+
# There are some additional characters behind MIB end that break parsing
187+
@sed -i '$ d' $(MIBDIR)/iDRAC-SMIv1.mib
186188
@rm -v $(TMP)
187189
@touch $(MIBDIR)/.dell
188190

0 commit comments

Comments
 (0)