--- loader/loader.c | 2 +- loader/net.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/loader.c b/loader/loader.c index 74d3e2d..7d7863b 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -1531,7 +1531,7 @@ static char *doLoaderMain(struct loaderData_s *loaderData, } logMessage(INFO, "need to set up networking"); - memset(&iface, 0, sizeof(iface)); + iface_init_iface_t(&iface); /* fall through to interface selection */ } diff --git a/loader/net.c b/loader/net.c index 81f11a8..64b493d 100644 --- a/loader/net.c +++ b/loader/net.c @@ -2001,7 +2001,7 @@ int kickstartNetworkUp(struct loaderData_s * loaderData, iface_t * iface) { (loaderData->netDev != NULL) && (loaderData->netDev_set == 1)) return 0; - memset(iface, 0, sizeof(*iface)); + iface_init_iface_t(iface); return activateDevice(loaderData, iface); -- 1.7.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list