From: "cron2 (Code Review)" Date: Mon, 22 Sep 2025 08:50:23 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., antonio@...2726... Message-ID: <7fff78e211639c082bd45c52f67c5d258513c7db-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="l5L7jypRQxw="; 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: , Cc: plaisthos , flichtenheld , openvpn-devel --l5L7jypRQxw= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/12= 03?usp=3Demail ) 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 Acked-by: Antonio Quartulli Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1203 Message-Id: <20250922080305.18477-1-gert@...1296...> URL: https://sourceforge.net/p/openvpn/mailman/message/59236810/ Signed-off-by: Gert Doering --- M tests/unit_tests/openvpn/test_networking.c 1 file changed, 1 insertion(+), 1 deletion(-) 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: 2 Gerrit-Owner: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: ordex Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-MessageType: merged --l5L7jypRQxw= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 submitted this change.

View Change

Fix t_net.sh / networking_testdriver after &#=
39;broadcast' change

Commit 0df0edc49c re-introduced explicit se= tting of broadcast addresses
for Linux IPv4 interfaces. t_net.sh verifi= es that the built-in netlink
code (sitnl) achieves the same result as &q= uot;equivalent" iproute2 statements
- and we missed adjusting of th= ese iproute2 statements (printed by
networking_testdriver). Done.
Change-Id: I5fea6ca1ccadb434b5c4f4b49881524a079a9d15
Signed-off-by: Ge= rt Doering <gert@...1296...>
Acked-by: Antonio Quartulli <anton= io@...2726...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/120= 3
Message-Id: <20250922080305.18477-1-gert@...1296...>
URL: htt= ps://sourceforge.net/p/openvpn/mailman/message/59236810/
Signed-off-by: = Gert Doering <gert@...1296...>
---
M tests/unit_tests/openvpn/t= est_networking.c
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/unit_tests/openvpn/test_networking.c b/tests/unit_tes=
ts/openvpn/test_networking.c
index f2da83e..6a2d09f 100644<= /span>
--- a/tests/unit_tests/openvpn/test_networking.c
= +++ b/tests/unit_tests/openvpn/test_networking.c
@@ -= 61,7 +61,7 @@

addr =3D ntohl(addr);<= /span>

- = printf("CMD: ip addr add %s/%d dev %s\n", addr_str, prefixlen, if= ace);
+ printf(&qu= ot;CMD: ip addr add %s/%d dev %s broadcast +\n", addr_str, prefixlen, = iface);

return net_addr_v4_add(NULL,= iface, &addr, prefixlen);
}

To view, 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: 2
Gerrit-Owner: cron2 <gert@...1296...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: ordex <antonio@...2726...&= gt;
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: merged
--l5L7jypRQxw=--