From: "cron2 (Code Review)" Date: Mon, 22 Sep 2025 07:01:14 +0000 References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="JSxTGNf64bM="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Fix t_net.sh / networking_testdriver after 'broadcast' change List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos , flichtenheld Cc: openvpn-devel --JSxTGNf64bM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. Hello plaisthos, flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1203?usp=3Demail to review the following change. Change subject: Fix t_net.sh / networking_testdriver after 'broadcast' chan= ge ...................................................................... Fix t_net.sh / networking_testdriver after 'broadcast' change Commit 0df0edc49c re-introduced explicit setting of broadcast addresses for Linux IPv4 interfaces. t_net.sh verifies that the built-in netlink code (sitnl) achieves the same result as "equivalent" iproute2 statements - and we missed adjusting of these iproute2 statements (printed by networking_testdriver). Done. Change-Id: I5fea6ca1ccadb434b5c4f4b49881524a079a9d15 Signed-off-by: Gert Doering --- M tests/unit_tests/openvpn/test_networking.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/03/1203/1 diff --git a/tests/unit_tests/openvpn/test_networking.c b/tests/unit_tests/= openvpn/test_networking.c index f2da83e..6a2d09f 100644 --- a/tests/unit_tests/openvpn/test_networking.c +++ b/tests/unit_tests/openvpn/test_networking.c @@ -61,7 +61,7 @@ addr =3D ntohl(addr); - printf("CMD: ip addr add %s/%d dev %s\n", addr_str, prefixlen, iface); + printf("CMD: ip addr add %s/%d dev %s broadcast +\n", addr_str, prefix= len, iface); return net_addr_v4_add(NULL, iface, &addr, prefixlen); } -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1203?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I5fea6ca1ccadb434b5c4f4b49881524a079a9d15 Gerrit-Change-Number: 1203 Gerrit-PatchSet: 1 Gerrit-Owner: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-MessageType: newchange --JSxTGNf64bM= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

cron2 would like plaisthos and flichtenheld to review t= his change.

V= iew Change

Fix t_net.sh / networking_testdriver after 'broadcast=
9; change

Commit 0df0edc49c re-introduced explicit setting of broadc= ast addresses
for Linux IPv4 interfaces. t_net.sh verifies that the bui= lt-in netlink
code (sitnl) achieves the same result as "equivalent&= quot; iproute2 statements
- and we missed adjusting of these iproute2 st= atements (printed by
networking_testdriver). Done.

Change-Id: I5= fea6ca1ccadb434b5c4f4b49881524a079a9d15
Signed-off-by: Gert Doering <= gert@...1296...>
---
M tests/unit_tests/openvpn/test_networking.c<= br>1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://g=
errit.openvpn.net:29418/openvpn refs/changes/03/1203/1
diff --git a=
/tests/unit_tests/openvpn/test_networking.c b/tests/unit_tests/openvpn/test=
_networking.c
index f2da83e..6a2d09f 100644
--- a/tests/unit_tests/openvpn/test_networking.c
+++ b/tes= ts/unit_tests/openvpn/test_networking.c
@@ -61,7 +61,7 @@

addr =3D ntohl(addr);

- printf("CM= D: ip addr add %s/%d dev %s\n", addr_str, prefixlen, iface);+ printf("CMD: ip addr= add %s/%d dev %s broadcast +\n", addr_str, prefixlen, iface);<= br>
return net_addr_v4_add(NULL, iface, &ad= dr, prefixlen);
}

To v= iew, visit change 1203. To unsubscribe, or for help writing mail filters, visit= settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5fea6ca1ccadb434b5c4f4b4988= 1524a079a9d15
Gerrit-Change-Number: 1203
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <gert@...1296...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-MessageType: newchange
--JSxTGNf64bM=--