mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* fix LinkUp and LinkDown trap parsing These traps do not always include 'ifAdminStatus' and 'ifOperStatus' from IF-MIB, which causes the fields to become NULL when traps are received. Add checks that values exist, and add default value for ifOperStatus. * Fix styleci complaint * Update LinkDown.php * Update LinkUp.php * Update LinkUp.php Co-authored-by: Tony Murray <murraytony@gmail.com>