FBSD: Use CK_STAILQ_FOREACH for ifaces on FBSD 12
[openafs.git] / src / afs / afs_server.c
index e705d0a..24d4cd3 100644 (file)
@@ -1364,7 +1364,7 @@ afs_SetServerPrefs(struct srvAddr *const sa)
        struct rm_priotracker in_ifa_tracker;
        CURVNET_SET(rx_socket->so_vnet);
        IN_IFADDR_RLOCK(&in_ifa_tracker);
-       TAILQ_FOREACH(ifa, &V_in_ifaddrhead, ia_link) {
+       AFS_FBSD_NET_FOREACH(ifa, &V_in_ifaddrhead, ia_link) {
            afsi_SetServerIPRank(sa, &ifa->ia_ifa);
        }
        IN_IFADDR_RUNLOCK(&in_ifa_tracker);