]> git.ipfire.org Git - thirdparty/openvpn.git/commit
FreeBSD networking cleanup
authorKristof Provost <kp@FreeBSD.org>
Mon, 22 Aug 2022 09:28:34 +0000 (11:28 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 12 Sep 2022 07:12:41 +0000 (09:12 +0200)
commitb5b132c1ba36e6d2ca261d15a9d70648890021f7
tree0555b2ae601f35ca54d15c9351d676acb3c5b2cb
parent7b42a0ebc968d178faa1083dd42a0c170d4dfe74
FreeBSD networking cleanup

Address a few minor code review remarks:

 - use constants for the inet_ntop() buffers
 - replace argv_printf() + argv_printf_cat() with a single argv_printf()
 - net_route_v4/6 both add and remove, so adjust the error message to
   reflect that.

Signed-off-by: Kristof Provost <kprovost@netgate.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220822092834.14231-2-kprovost@netgate.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25054.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/networking_freebsd.c