]> git.proxmox.com Git - qemu.git/blobdiff - slirp/if.c
aio / timers: Switch entire codebase to the new timer API
[qemu.git] / slirp / if.c
index dcd5fafe5d27cf5128c6c8b92162ee6d2b527ebe..87ca8a53a91ba234b8edceec00bc55d82d1227bb 100644 (file)
@@ -154,7 +154,7 @@ diddit:
  */
 void if_start(Slirp *slirp)
 {
-    uint64_t now = qemu_get_clock_ns(rt_clock);
+    uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_REALTIME);
     bool from_batchq, next_from_batchq;
     struct mbuf *ifm, *ifm_next, *ifqt;