e.g. network --ipv6=2001:aaaa::1/48 --- loader/net.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/loader/net.c b/loader/net.c index fc4e271..b85772d 100644 --- a/loader/net.c +++ b/loader/net.c @@ -1635,6 +1635,8 @@ void setKickstartNetwork(struct loaderData_s * loaderData, int argc, #ifdef ENABLE_IPV6 free(loaderData->ipv6); loaderData->ipv6 = NULL; + free(loaderData->ipv6prefix); + loaderData->ipv6prefix = NULL; loaderData->ipv6info_set = 0; free(loaderData->gateway6); loaderData->gateway6 = NULL; @@ -1742,7 +1744,11 @@ void setKickstartNetwork(struct loaderData_s * loaderData, int argc, flags |= LOADER_FLAGS_NOIPV6; if (loaderData->ipv6) { - loaderData->ipv6info_set = 1; + if (split_ipv6addr_prefix_length(loaderData->ipv6, + &(loaderData->ipv6), + &(loaderData->ipv6prefix))) { + loaderData->ipv6info_set = 1; + } } #endif } -- 1.7.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list