From 0d7c921ac7f1540bbf364a189c2288d67bce9b82 Mon Sep 17 00:00:00 2001
From: "Leigh B. Stoller" <stoller@flux.utah.edu>
Date: Sun, 18 Aug 2002 18:07:57 +0000
Subject: [PATCH] Minor change; update vnodes to 'up' status when the physnode
 checks in.

---
 tmcd/tmcd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tmcd/tmcd.c b/tmcd/tmcd.c
index 2536c9fcd4..6647c935f2 100644
--- a/tmcd/tmcd.c
+++ b/tmcd/tmcd.c
@@ -3187,7 +3187,8 @@ COMMAND_PROTOTYPE(doisalive)
 
 	mydb_update("update nodes "
 		    "set status='up',status_timestamp=now() "
-		    "where node_id='%s'", nodeid);
+		    "where node_id='%s' or phys_nodeid='%s'",
+		    nodeid, nodeid);
 
 	/*
 	 * Return info about what needs to be updated. 
-- 
GitLab