Commit 14d675bc authored by Robert Ricci's avatar Robert Ricci
Browse files

Change the way we output the node's newnode ID to make it easier for

newclient to find it.
parent 7be17267
......@@ -82,7 +82,8 @@ if (count($interfaces)) {
$row = mysql_fetch_array($query_result);
$id = $row["new_node_id"];
$node_id = $row["node_id"];
echo "Node has already checked in as ID $id, name $node_id\n";
echo "Node has already checked in\n";
echo "Node ID is $id\n";
# Keep the temp. IP address around in case it's gotten a new one
......@@ -125,6 +126,8 @@ $query_result = DBQueryFatal("select last_insert_id()");
$row = mysql_fetch_array($query_result);
$new_node_id = $row[0];
echo "Node ID is $new_node_id\n";
foreach ($interfaces as $interface) {
$card = $interface["card"];
$mac = $interface["mac"];
Supports Markdown
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