From 5087b6e7328119738abccd6ac3ed4cdeea6d3a83 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Sat, 20 Jun 2020 23:48:57 +0000 Subject: [PATCH] Set a variable also in the case of an INET6 only kernel MFC after: 1 week --- sys/netinet/sctputil.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index d707beecfac9..51b63ff8d52a 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -6746,6 +6746,8 @@ sctp_bindx_add_address(struct socket *so, struct sctp_inpcb *inp, } else { addr_to_use = sa; } +#else + addr_to_use = sa; #endif break; #endif