Port from rhel6-branch. Resolves: rhbz#638131 --- 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 47021cc..d16a309 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -1481,7 +1481,7 @@ static void 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 1f01ddb..8fe6ca3 100644 --- a/loader/net.c +++ b/loader/net.c @@ -1897,7 +1897,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