]> git.ipfire.org Git - thirdparty/openvpn.git/commit
maddr: export VLAN ID from client context to maddr object
authorAntonio Quartulli <a@unstable.cc>
Wed, 9 Oct 2019 14:34:16 +0000 (16:34 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 6 Nov 2019 20:53:36 +0000 (21:53 +0100)
commita2b7230712dbc8cfab85d5bd59605f58fc5fe5f8
tree82206c398cbd4c48cbd369c8a43886f004388f47
parent99f28081477ca325a14b13c38abec2c9b619eb01
maddr: export VLAN ID from client context to maddr object

When receiving a packet from a client, the associated maddr needs to
carry also the VID associated with that client. This way the VID can be
appended to the packet later, if needed.

This patch adds support for exporting the VID from the client context to
the related per-packet maddr object.

Signed-off-by: Fabian Knittel <fabian.knittel@lettink.de>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20191009143422.9419-4-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18917.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/mroute.c
src/openvpn/mroute.h
src/openvpn/multi.c