Signed-off-by: Elijah Conners <business@xxxxxxxxxxxxxx> --- fs/cifs/cifsroot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/cifs/cifsroot.c b/fs/cifs/cifsroot.c index f0aba7c824dc..46aaa731723d 100644 --- a/fs/cifs/cifsroot.c +++ b/fs/cifs/cifsroot.c @@ -37,9 +37,9 @@ static void __init parse_srvaddr(char *start, char *end, struct in6_addr *out6, addr[i] = '\0'; if (inet_pton(AF_INET6, addr, &in6) > 0) { - *out6 = in6; - } else { - *out32 = in_aton(addr); + *out6 = in6; + } else { + *out32 = in_aton(addr); } } -- 2.29.2.windows.2