--- agent/mibgroup/mibII/interfaces.c.orig	Mon Jun 10 06:10:24 2002
+++ agent/mibgroup/mibII/interfaces.c	Tue Apr 22 10:28:42 2003
@@ -1889,11 +1889,10 @@ static int Interface_Scan_Get_Count (voi
 
 #else	/* hpux11 */
 
-static time_t scan_time = 0;
-
 static int Interface_Scan_Get_Count (void)
 {
-        time_t time_now = time(NULL);
+        static time_t scan_time = 0;
+	time_t time_now = time(NULL);
     
 	if (!Interface_Count || (time_now > scan_time + 60)) {
             scan_time = time_now;
