wg: Style

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2021-03-08 12:39:05 -05:00
parent a11009dccb
commit d8cebef50e

View File

@ -254,15 +254,13 @@ wg_socket_reuse(struct wg_softc *sc, struct socket *so)
error = sosetopt(so, &sopt);
if (error) {
ifp = iflib_get_ifp(sc->wg_ctx);
if_printf(ifp,
"cannot set REUSEPORT socket opt: %d\n", error);
if_printf(ifp, "cannot set REUSEPORT socket opt: %d\n", error);
}
sopt.sopt_name = SO_REUSEADDR;
error = sosetopt(so, &sopt);
if (error) {
ifp = iflib_get_ifp(sc->wg_ctx);
if_printf(ifp,
"cannot set REUSEADDDR socket opt: %d\n", error);
if_printf(ifp, "cannot set REUSEADDDR socket opt: %d\n", error);
}
return (error);
}