vmware / network-config-manager

Network configuration manager is utility for easily configuring networking on a linux system
Other
35 stars 10 forks source link

nmctl: Fixed DHCP set/reset for IPV6. #666

Closed ntsbtz closed 7 months ago

ntsbtz commented 7 months ago

Issue: nmctl set-ipv6 dhcp no is also reset dhcp for ipv4 like DHCP=yes convert to DHCP=no instead of DHCP=ipv4 Also while setting nmctl set-ipv6 dhcp yes it convert DHCP=yes to DHCP=ipv6.

Fix: Check for existing DHCP=mode, based on that only tune the DHCP configuration for ipv6 without affecting DHCP IPV4 status.

ssahani commented 7 months ago

Is not these two APIs are deprecated. We need to use of set-dynamic or set-network