Skip to content
Commit c3803203 authored by Ani Sinha's avatar Ani Sinha Committed by Wei Liu
Browse files

hv/hv_kvp_daemon: Some small fixes for handling NM keyfiles

Some small fixes:
 - lets make sure we are not adding ipv4 addresses in ipv6 section in
   keyfile and vice versa.
 - ADDR_FAMILY_IPV6 is a bit in addr_family. Test that bit instead of
   checking the whole value of addr_family.
 - Some trivial fixes in hv_set_ifconfig.sh.

These fixes are proposed after doing some internal testing at Red Hat.

CC: Shradha Gupta <shradhagupta@linux.microsoft.com>
CC: Saurabh Sengar <ssengar@linux.microsoft.com>
Fixes: 42999c90

 ("hv/hv_kvp_daemon:Support for keyfile based connection profile")
Signed-off-by: default avatarAni Sinha <anisinha@redhat.com>
Reviewed-by: default avatarShradha Gupta <Shradhagupta@linux.microsoft.com>
Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
Message-ID: <20231016133122.2419537-1-anisinha@redhat.com>
parent ffc25326
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment