From: "cron2 (Code Review)" Date: Sun, 28 Sep 2025 11:24:04 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <46367c3b4d84f6b481edec2592bb7bab587d35c7-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="XdO8ufPpfLY="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Allowing installing FreeBSD routes with interface instead of next-hop List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: flichtenheld , openvpn-devel --XdO8ufPpfLY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/1193?usp=3Demail ) Change subject: Allowing installing FreeBSD routes with interface instead o= f next-hop ...................................................................... Patch Set 3: (1 comment) File src/openvpn/networking_freebsd.c: http://gerrit.openvpn.net/c/openvpn/+/1193/comment/5c8a40a2_8ceda728 : PS3, Line 23: /* if gw is 0 (=3D0.0.0.0), which is not a valid gateway, > are you passing in NULL or "a pointer to 0.0.0. [=E2=80=A6] ``` /* if we have a gateway (GW !=3D NULL) install route to gateway IP * if not, install "connected" route to interface (required for ifconfig-pu= sh IPs) */ ``` something like this? I think this would help understanding the code and be= in line with the `if(gw)...` -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1193?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: I88e16e15fad065cb310d38f09924053efc3a6ce5 Gerrit-Change-Number: 1193 Gerrit-PatchSet: 3 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Sun, 28 Sep 2025 11:24:04 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: cron2 Gerrit-MessageType: comment --XdO8ufPpfLY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

View = Change

1 comment:

    =
  • File src/openvpn/networking_freebsd= .c:

    • Patch Set #3, = Line 23: /* if gw i= s 0 (=3D0.0.0.0), which is not a valid gateway,

      are y= ou passing in NULL or "a pointer to 0.0.0. [=E2=80=A6]
      ``=
      `
      /* if we have a gateway (GW !=3D NULL) install route to gateway IP
      = * if not, install "connected" route to interface (required for i= fconfig-push IPs)
      */
      ```
      something like this? I think this would= help understanding the code and be in line with the `if(gw)...`
    • =

To view, visit change 1193. To unsubscribe, or for help writi= ng mail filters, visit setti= ngs.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I88e16e15fad065cb310d38f0992= 4053efc3a6ce5
Gerrit-Change-Number: 1193
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Sun, 28 Sep 2025 11:24:04= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...= >
Gerrit-MessageType: comment
--XdO8ufPpfLY=--