]> git.ipfire.org Git - thirdparty/openvpn.git/commit
More explicit versioning compatibility in sample-plugins/defer/simple.c
authorGreg Cox <gcox@mozilla.com>
Wed, 27 Jan 2021 20:21:49 +0000 (20:21 +0000)
committerGert Doering <gert@greenie.muc.de>
Sat, 30 Jan 2021 09:49:53 +0000 (10:49 +0100)
commit86c674230d6334c1aa18f74acc7a9741a6c9683a
treeedca6b0d383bc1eeacbb954ed65e911c0b686e98
parent5e7e41dc56d71cb7e414d53059149d9490f14a67
More explicit versioning compatibility in sample-plugins/defer/simple.c

While not required, adding openvpn_plugin_min_version_required_v1 helps
by making an example for others to copy, and helps to explicitly call
attention to the difference between the API version number and the
struct version number in v3 calls.
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: <1611778909-20630-2-git-send-email-gcox@mozilla.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21508.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit a385a3e8a28f2ce96c7ee0be8940b257765add5a)
sample/sample-plugins/defer/simple.c