]> git.ipfire.org Git - thirdparty/openvpn.git/commit
options: drop useless netmask variable
authorAntonio Quartulli <a@unstable.cc>
Mon, 14 Mar 2022 13:13:56 +0000 (14:13 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 17 Mar 2022 11:07:55 +0000 (12:07 +0100)
commit07be493796250ad680a4a41c26e19c1938bf37ce
tree0773885e50c482af482c6e7942d9e1a744d28c2e
parent2047522286f179cac09bd7615bf845d67a5dc1c8
options: drop useless netmask variable

netmask is simply used to reflect the value of p[2], therefore
it can be dropped and p[2] can directly be used instead.

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