summaryrefslogtreecommitdiffstats
path: root/loader/net.c
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2011-02-16 15:48:25 +0100
committerRadek Vykydal <rvykydal@redhat.com>2011-03-02 13:21:43 +0100
commit365a39857d455a73c001af9ce3171a7ed346974d (patch)
tree9f23fdc882507139512b9eebba6786fee6bdccf1 /loader/net.c
parent64098b7bd5d6ecf4e06546add0a587f92cb60516 (diff)
downloadanaconda-365a39857d455a73c001af9ce3171a7ed346974d.tar.gz
anaconda-365a39857d455a73c001af9ce3171a7ed346974d.tar.xz
anaconda-365a39857d455a73c001af9ce3171a7ed346974d.zip
Initialize iface structure properly
Port from rhel6-branch. Resolves: rhbz#638131
Diffstat (limited to 'loader/net.c')
-rw-r--r--loader/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/net.c b/loader/net.c
index 1f01ddb8f..8fe6ca3ad 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);