Attention is currently required from: Arne Schwabe, Marco Baffo.

Răzvan Cojocaru has posted comments on this change by Marco Baffo. ( 
https://gerrit.openvpn.net/c/openvpn/+/2060?usp=email )

Change subject: PUSH_UPDATE: centralize virtual address changes in update_vaddr
......................................................................


Patch Set 1: Code-Review-1

(4 comments)

File src/openvpn/multi.c:

https://gerrit.openvpn.net/c/openvpn/+/2060/comment/1ff420e0_0b1688b5?usp=email 
:
PS1, Line 4451:  * @param new_ipv6  The new IPv6 address, NULL for 
-ifconfig-ipv6 or the current IPv6 if no change
These might read better as "NULL to remove, current address to keep".


File src/openvpn/push_util.c:

https://gerrit.openvpn.net/c/openvpn/+/2060/comment/bf4e564c_305dd1fb?usp=email 
:
PS1, Line 152:     /* Set canary values to detect -ifconfig and -ifconfig-ipv6 
options in
Stale comment referencing canaries?


https://gerrit.openvpn.net/c/openvpn/+/2060/comment/22429f94_8244d057?usp=email 
:
PS1, Line 161:     struct in_addr addr4 = { .s_addr = 
htonl(mi->context.c2.push_ifconfig_local) };
Computed even when `!push_ifconfig_defined`. Maybe move inside the `if()` below?


https://gerrit.openvpn.net/c/openvpn/+/2060/comment/ab13739c_b8bebbba?usp=email 
:
PS1, Line 221:         return !event_timeout_defined(&c->c2.scheduled_exit);
Wouldn't `scheduled_exit` be true in several ways (e.g. if there's simply a 
pending kill)?

Would just having `update_vaddr()` return `bool` (`false` on restart paths) be 
possible, to simplify this logic?



--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2060?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I75ba77fcbb11790c7cc86cc436fc75ff99bd1c9e
Gerrit-Change-Number: 2060
Gerrit-PatchSet: 1
Gerrit-Owner: Marco Baffo <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Marco Baffo <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Comment-Date: Wed, 04 Nov 2026 10:14:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to