git: b485d70d4eb2 - main - dhclient(8): Fix dhcpack comment

From: Pouria Mousavizadeh Tehrani <pouria_at_FreeBSD.org>
Date: Sat, 12 Sep 2026 16:40:00 UTC
The branch main has been updated by pouria:

URL: https://cgit.FreeBSD.org/src/commit/?id=b485d70d4eb233dc0c6a7efbc6c1f42ebc353c50

commit b485d70d4eb233dc0c6a7efbc6c1f42ebc353c50
Author:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
AuthorDate: 2026-09-12 16:32:57 +0000
Commit:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
CommitDate: 2026-09-12 16:37:39 +0000

    dhclient(8): Fix dhcpack comment
    
    Restore a comment accidentally removed above dhcpack.
    
    Fixes:  37fd3fcaaf0e ("dhclient(8): Add support for IPv6-Only option (RFC 8925)")
---
 sbin/dhclient/dhclient.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 88963aa93bf4..e06517a06733 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -783,7 +783,6 @@ freeit:
 }
 
 /*
- * state_requesting is called when we receive a DHCPACK message after
  * RFC 8925, sec 3.2: if the packet carries a valid IPv6-Only Preferred
  * option and we have IPv6 connectivity, stop DHCPv4 for V6ONLY_WAIT
  * seconds or until a network attachment event, whichever comes first.
@@ -851,6 +850,8 @@ v6only_wait_expired(void *ipp)
 	state_reboot(ip);
 }
 
+/* state_requesting is called when we receive a DHCPACK message after
+   having sent out one or more DHCPREQUEST packets. */
 void
 dhcpack(struct packet *packet)
 {