#
69361b87 |
| 28-Feb-2023 |
Kristof Provost <kp@FreeBSD.org> |
if_ovpn tests: skip the if_ovpn_c test if if_ovpn.ko isn't loaded
Skip the test (rather than loading it) if if_ovpn.ko isn't loaded. Match the behaviour of other tests.
Sponsored by: Rubicon Commun
if_ovpn tests: skip the if_ovpn_c test if if_ovpn.ko isn't loaded
Skip the test (rather than loading it) if if_ovpn.ko isn't loaded. Match the behaviour of other tests.
Sponsored by: Rubicon Communications, LLC ("Netgate")
show more ...
|
#
ab28cc35 |
| 13-Aug-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Adjust function definition in if_ovpn_c.c to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
tests/sys/net/if_ovpn/if_ovpn_c.c:19:14: error: a function declarat
Adjust function definition in if_ovpn_c.c to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
tests/sys/net/if_ovpn/if_ovpn_c.c:19:14: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] fake_sockaddr() ^ void
This is because fake_sockaddr() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration.
MFC after: 3 days
show more ...
|
#
248da794 |
| 11-Aug-2022 |
Kristof Provost <kp@FreeBSD.org> |
if_ovpn tests: Test using a TCP socket for DCO
This used to trigger panics, so try to reproduce it. Create an if_ovpn interface, set a new peer on it with a TCP fd (as opposed to the expected UDP) a
if_ovpn tests: Test using a TCP socket for DCO
This used to trigger panics, so try to reproduce it. Create an if_ovpn interface, set a new peer on it with a TCP fd (as opposed to the expected UDP) and ensure that this is rejected.
Sponsored by: Rubicon Communications, LLC ("Netgate")
show more ...
|