]> git.ipfire.org Git - thirdparty/openvpn.git/commit
get rid of 'broadcast' argument when configuring the tun device
authorAntonio Quartulli <a@unstable.cc>
Sun, 10 Nov 2019 12:44:07 +0000 (13:44 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 10 Nov 2019 13:19:49 +0000 (14:19 +0100)
commit6c8b33f28970bbadcba5dac3e324550836c573cc
treea9832c0670eb5a36b9798733c59848a0dc7962f9
parentac10391f48e4ecc5c6db541e47bc747955ef1c93
get rid of 'broadcast' argument when configuring the tun device

The broadcast argument is actually useless as every platform will figure
it out and configure it on its own. We even realized that on linux, if
you configure it wrong, nothing wrong will happen.

At this point, let's make the code cleaner and let's get rid of this
useless argument at all.

This patch just removed any occurrence of 'broadcast'.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20191110124407.8734-1-a@unstable.cc>
URL: https://www.mail-archive.com/search?l=mid&q=20191110124407.8734-1-a@unstable.cc
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/networking.h
src/openvpn/networking_iproute2.c
src/openvpn/networking_sitnl.c
src/openvpn/tun.c
src/openvpn/tun.h
tests/unit_tests/openvpn/test_networking.c