]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netkey/key.c
xnu-4570.31.3.tar.gz
[apple/xnu.git] / bsd / netkey / key.c
index d8e8a1b395f71e63b47ba22c16361378a52ac24c..a7935a5f20202faf1c7b2e0a7093191fa08af72d 100644 (file)
@@ -9920,7 +9920,7 @@ key_sa_routechange(
        
        lck_mtx_lock(sadb_mutex);
        LIST_FOREACH(sah, &sahtree, chain) {
-               ro = &sah->sa_route;
+               ro = (struct route *)&sah->sa_route;
                if (ro->ro_rt && dst->sa_len == ro->ro_dst.sa_len
                        && bcmp(dst, &ro->ro_dst, dst->sa_len) == 0) {
                        ROUTE_RELEASE(ro);