git: 1596d28026be - main - if_ovpn: fix LINT-NOIP build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Dec 2022 09:53:51 UTC
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=1596d28026be67f6b3fbaa48357818c374d4798f commit 1596d28026be67f6b3fbaa48357818c374d4798f Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2022-12-14 09:53:03 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2022-12-14 09:53:03 +0000 if_ovpn: fix LINT-NOIP build Reported by: mjg Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/net/if_ovpn.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/net/if_ovpn.c b/sys/net/if_ovpn.c index 28a0ed33f010..9244b4088ec9 100644 --- a/sys/net/if_ovpn.c +++ b/sys/net/if_ovpn.c @@ -1715,7 +1715,6 @@ ovpn_get_af(struct mbuf *m) return (0); } -#ifdef INET static struct ovpn_kpeer * ovpn_find_peer_by_ip(struct ovpn_softc *sc, const struct in_addr addr) { @@ -1727,9 +1726,7 @@ ovpn_find_peer_by_ip(struct ovpn_softc *sc, const struct in_addr addr) return (RB_FIND(ovpn_kpeers_by_ip, &sc->peers_by_ip, &peer)); } -#endif -#ifdef INET6 static struct ovpn_kpeer * ovpn_find_peer_by_ip6(struct ovpn_softc *sc, const struct in6_addr *addr) { @@ -1741,7 +1738,6 @@ ovpn_find_peer_by_ip6(struct ovpn_softc *sc, const struct in6_addr *addr) return (RB_FIND(ovpn_kpeers_by_ip6, &sc->peers_by_ip6, &peer)); } -#endif static struct ovpn_kpeer * ovpn_route_peer(struct ovpn_softc *sc, struct mbuf **m0,