MAX_ROWS_TRAP_LIST) { // make the table scrollable $divAttributes['divClass'] = "table-scroll"; $divAttributes['thClass'] = "table-noscroll"; $divAttributes['divHeight'] = MAX_SIZE_TRAP_LIST; } else { // no scrolling needed $divAttributes['divClass'] = ""; $divAttributes['thClass'] = ""; $divAttributes['divHeight'] = ""; } if ((($IPv4DHCP == 0) && ($IPv4Static == 0)) || ((($IPv6DHCP == 0) && ($IPv6Static == 0)) || ($ipv6Enabled == 0))) { $incompatibleIP = 0; for ($i = 0; $i < $numRows; $i++) { $snmp_trap = $snmp_traps[$i]; $snmp_traps[$i]->incompatibleIP = 0; if ((($snmp_trap->transport == 0) || ($snmp_trap->transport == 2)) && (($IPv4DHCP == 0) && ($IPv4Static == 0))) { $snmp_traps[$i]->incompatibleIP = 1; $incompatibleIP = 1; $incompatibleIPMessage = 'Please note that this machine will not send SNMP traps to IPv4 addresses. IPv4 support may be configured on the Network page.
*IPv4 Addresses'; } if ((($snmp_trap->transport == 1) || ($snmp_trap->transport == 3)) && ((($IPv6DHCP == 0) && ($IPv6Static == 0)) || ($ipv6Enabled == 0))) { $snmp_traps[$i]->incompatibleIP = 1; $incompatibleIP = 1; $incompatibleIPMessage = 'Please note that this machine will not send SNMP traps to IPv6 addresses. IPv6 support may be configured on the Network page.
*IPv6 Address'; } error_log(print_r($snmp_traps[$i], true)); } } ?>