bluecmd / fortigate_exporter

Prometheus exporter for Fortigate firewalls
GNU General Public License v3.0
232 stars 72 forks source link

fix(probe): correct OSPF state enum #264

Closed benclerc closed 9 months ago

benclerc commented 9 months ago

Hi @bluecmd !

Spotted a small issue in the OSPF code state returned, it appears to be shifted by 1 for each value. Let me know if somethings not right. I assumed that the wanted value for the test was 8 (Full).

Benjamin

benclerc commented 9 months ago

Good idea, just did !

benclerc commented 9 months ago

Thank you for quick responses !

bluecmd commented 9 months ago

:tada: This PR is included in version 1.23.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: