Separate OpenFlow port numbers from datapath ones.
[openvswitch] / tests / test-timeval.c
index a58c04169bad54dc53f85d7810ce5d62524aeec5..9896cf7372ff880b8af487c3819e47ee69c36c7b 100644 (file)
@@ -99,7 +99,7 @@ main(int argc, char *argv[])
     } else if (!strcmp(argv[1], "plain")) {
         /* If we're not caching time there isn't much to test and SIGALRM won't
          * be around to pull us out of the select() call, so just skip out */
-        if (!time_cached()) {
+        if (!CACHE_TIME) {
             exit (77);
         }
 
@@ -110,7 +110,7 @@ main(int argc, char *argv[])
         char cwd[1024], *pidfile;
         FILE *success;
 
-        if (!time_cached()) {
+        if (!CACHE_TIME) {
             exit (77);
         }