]> git.ipfire.org Git - thirdparty/openvpn.git/commit
networking: add missing brackets
authorAntonio Quartulli <a@unstable.cc>
Wed, 29 Sep 2021 11:59:05 +0000 (13:59 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 29 Sep 2021 12:03:13 +0000 (14:03 +0200)
commitcb5d29461e6e734a2250b984b8423d39f7b9ddaa
tree30c553a08844dd4bbfa583a3978e2a930d996c5f
parent98f524cbd58d24d09dee26160d7386d710c3564f
networking: add missing brackets

Our codestyle demands having brackets also around if-blocks made up
by one line only.

In patch "networking: add and implement net_addr_ll_set() API" this
rule was not respected and a new one-line-if-block was added with no
brackets.

Fix this by adding the related brackets as needed.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210929115905.1281-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22908.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/networking_iproute2.c