Commit 990673d3 authored by Kirk Webb's avatar Kirk Webb

Fixed minor typo.

parent 39a67a54
......@@ -331,12 +331,12 @@ NODE: foreach my $node_id (@node_ids) {
}
else {
# Experimental interfaces start with no speed set.
$speed = 0;
$max_speed = 0;
}
DBQueryFatal("INSERT INTO interfaces SET node_id='$node_id', " .
"card=$card, port=1, mac='$MAC', IP='$iface_IP', " .
"interface_type='$iface_type', iface='$iface', " .
"current_speed='$speed', duplex=$duplex, role='$iface_role'");
"current_speed='$max_speed', duplex=$duplex, role='$iface_role'");
if (!$switch_id) {
print "No switch found for ${node_id}:$iface - skipping\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment