ctdb-daemon: Rename struct ctdb_control_get_ifaces to ctdb_iface_list_old
[obnox/samba/samba-obnox.git] / ctdb / server / ctdb_takeover.c
index a9b74c357c93f3b35ae431903082fcb677462967..a4175578679ea7c222ce81085ca08edd16821f1d 100644 (file)
@@ -3312,7 +3312,7 @@ int32_t ctdb_control_get_ifaces(struct ctdb_context *ctdb,
                                TDB_DATA *outdata)
 {
        int i, num, len;
-       struct ctdb_control_get_ifaces *ifaces;
+       struct ctdb_iface_list_old *ifaces;
        struct ctdb_interface *cur;
 
        /* count how many public ip structures we have */
@@ -3321,7 +3321,7 @@ int32_t ctdb_control_get_ifaces(struct ctdb_context *ctdb,
                num++;
        }
 
-       len = offsetof(struct ctdb_control_get_ifaces, ifaces) +
+       len = offsetof(struct ctdb_iface_list_old, ifaces) +
                num*sizeof(struct ctdb_iface);
        ifaces = talloc_zero_size(outdata, len);
        CTDB_NO_MEMORY(ctdb, ifaces);
@@ -3334,7 +3334,7 @@ int32_t ctdb_control_get_ifaces(struct ctdb_context *ctdb,
                i++;
        }
        ifaces->num = i;
-       len = offsetof(struct ctdb_control_get_ifaces, ifaces) +
+       len = offsetof(struct ctdb_iface_list_old, ifaces) +
                i*sizeof(struct ctdb_iface);
 
        outdata->dsize = len;