From: "flichtenheld (Code Review)" Date: Mon, 13 Apr 2026 11:20:44 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., gianmarco@...2726..., openvpn-devel@lists.sourceforge.net Message-ID: <24b6c4f5c5226594d12690f68431dbef3860ea4b-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="vCvFUpKa2a4="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Enable per-socket bind_dev via --local List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: its_Giaan Cc: plaisthos , openvpn-devel --vCvFUpKa2a4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: its_Giaan, plaisthos. flichtenheld has posted comments on this change by its_Giaan. ( http://gerr= it.openvpn.net/c/openvpn/+/1625?usp=3Demail ) Change subject: Enable per-socket bind_dev via --local ...................................................................... Patch Set 1: Code-Review-1 (4 comments) File doc/man-sections/link-options.rst: http://gerrit.openvpn.net/c/openvpn/+/1625/comment/15733805_d4bc2521?usp=3D= email : PS1, Line 114: local host|* [port] [protocol] [bind device] Should also add a reference to `--bind-dev` somewhere in the documentation = below. I realize we do not have corresponding references for `port` and `pr= otocol` either, but maybe we can also fix that? File src/openvpn/options.c: http://gerrit.openvpn.net/c/openvpn/+/1625/comment/d6b4199e_963ab8ae?usp=3D= email : PS1, Line 6010: msg(M_WARN | M_ERRNO, "Note: bind_dev is ignore= d on non-Linux systems"); No syscalls involved here, so M_ERRNO makes no sense http://gerrit.openvpn.net/c/openvpn/+/1625/comment/b13fa4de_a8359f50?usp=3D= email : PS1, Line 6541: #if defined(TARGET_LINUX) Why this random change? File src/openvpn/socket.c: http://gerrit.openvpn.net/c/openvpn/+/1625/comment/90dda228_fbf9b24f?usp=3D= email : PS1, Line 1413: /* bind_dev from local_list will trump on the global op= tion. */ Remove "on", remove the trailing full stop -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1625?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I6319c951327a9b994ffae0ba35270b0887455203 Gerrit-Change-Number: 1625 Gerrit-PatchSet: 1 Gerrit-Owner: its_Giaan Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: its_Giaan Gerrit-Comment-Date: Mon, 13 Apr 2026 11:20:44 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --vCvFUpKa2a4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: its_Giaan, plaisthos.

Patch set 1:Code-Review -1=

V= iew Change

4 comments:

  • File doc/man-sections/link-opt= ions.rst:

    • Patch Set #1, Line 114: local host|* [port] [protocol] [bind device]

      Should = also add a reference to `--bind-dev` somewhere in the documentation below. = I realize we do not have corresponding references for `port` and `protocol`= either, but maybe we can also fix that?

  • File src/openvpn/options.c:

  • File src/openvpn= /socket.c:

    • Patch Set #1, Line 1413: /* bind_dev from local_list will trump on the global option. */<= /code>

      Remove "on", remove the trailing full stop

    To view, visit change 1625. To unsubscribe, or for help writing = mail filters, visit settings.

    =
    Gerrit-MessageType: comment
    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: I6319c951327a9b994ffae0ba352= 70b0887455203
    Gerrit-Change-Number: 1625
    Gerrit-PatchSet: 1
    Gerrit-Owner: its_Giaan <gianmarco@...2786...= ..>
    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: its_Giaan <gianmarco@...1665...= 726...>
    Gerrit-Comment-Date: Mon, 13 Apr 2026 11:20:44= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    = --vCvFUpKa2a4=--