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

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

Change-Id: Ic59994a8721935cc24507fd07bcd975b2280ccfc
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;
       }