$value) { if (preg_match("/iface(\d+)_mac/",$key,$matches)) { $card = $matches[1]; $mac = $HTTP_GET_VARS["iface${card}_mac"]; $type = $HTTP_GET_VARS["iface${card}_type"]; $switch_id = $HTTP_GET_VARS["iface${card}_switch_id"]; $switch_card = $HTTP_GET_VARS["iface${card}_switch_card"]; $switch_port = $HTTP_GET_VARS["iface${card}_switch_port"]; DBQueryFatal("UPDATE new_interfaces SET mac='$mac', " . "interface_type='$type', switch_id='$switch_id', " . "switch_card='$switch_card', switch_port='$switch_port' " . "WHERE new_node_id=$id AND card='$card'"); } } # # Get the information about the node they asked for # $query_result = DBQueryFatal("SELECT new_node_id, node_id, type, IP, " . "DATE_FORMAT(created,'%M %e %H:%i:%s') as created, dmesg " . "FROM new_nodes WHERE new_node_id='$id'"); if (mysql_num_rows($query_result) != 1) { USERERROR("Error getting information for node ID $id",1); } $row = mysql_fetch_array($query_result) ?>

Back to the new node list

Node

ID
Node ID
Type
IP
Created
dmesg Output

Interfaces

\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } ?>
Interface MAC Type Switch Card Port
$card