HomeFreeBSD

if_ovpn: ovpn_find_peer_by_ip() is unused without INET

Description

if_ovpn: ovpn_find_peer_by_ip() is unused without INET

Don't define ovpn_find_peer_by_ip() if INET is not set, and do the same
for ovpn_find_peer_by_ip6() and INET6.

Reported by: mjg
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Feb 23 2023, 2:58 AM
Parents
rGa17065710862: unix/dgram tests: match the kernel behavior
Branches
Unknown
Tags
Unknown