update last poll time when the interface poll frequency is reached am: 276fdd023c am: f7cbaf36df

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/android-clat/+/12541933

Change-Id: I274f9966422e2884cae8a7a061ed7e7fadad56f2
diff --git a/clatd.c b/clatd.c
index 7063215..422cded 100644
--- a/clatd.c
+++ b/clatd.c
@@ -426,7 +426,8 @@
     }
 
     time_t now = time(NULL);
-    if (last_interface_poll < (now - INTERFACE_POLL_FREQUENCY)) {
+    if (now >= (last_interface_poll + INTERFACE_POLL_FREQUENCY)) {
+      last_interface_poll = now;
       if (ipv6_address_changed(Global_Clatd_Config.native_ipv6_interface)) {
         break;
       }