In article <3b48572b-2b4e-40fa-98bf-403729c2e...@me.com>,
Jason Thorpe wrote:
>
>> On Nov 10, 2020, at 5:49 PM, Brad Spencer wrote:
>>
>> --- sys/net/if_wg.c.DIST 2020-10-26 10:36:30.391354264 -0400
>> +++ sys/net/if_wg.c 2020-10-30 19:13:46.910323221 -0400
>> @@ -98,8 +98,8 @@
>> #include
On Wed, 11 Nov 2020, Jason Thorpe wrote:
On Nov 10, 2020, at 5:49 PM, Brad Spencer wrote:
--- sys/net/if_wg.c.DIST2020-10-26 10:36:30.391354264 -0400
+++ sys/net/if_wg.c 2020-10-30 19:13:46.910323221 -0400
@@ -98,8 +98,8 @@
#include
#include
-#ifdef INET6
#include
+#ifdef INE
Jason Thorpe writes:
[snip]
>> wg_get_so_by_af(struct wg_softc *wg, const int af)
>> {
>>
>> +#if defined(INET) && defined(INET6)
>> return (af == AF_INET) ? wg->wg_so4 : wg->wg_so6;
>> +#else
>> +#ifdef INET
>> +return wg->wg_so4;
>> +#endif
>> +#ifdef INET6
>> +return wg->wg_so6;
> On Nov 10, 2020, at 5:49 PM, Brad Spencer wrote:
>
> --- sys/net/if_wg.c.DIST 2020-10-26 10:36:30.391354264 -0400
> +++ sys/net/if_wg.c 2020-10-30 19:13:46.910323221 -0400
> @@ -98,8 +98,8 @@
> #include
> #include
>
> -#ifdef INET6
> #include
> +#ifdef INET6
> #include
> #include
Roy Marples writes:
> On 11/11/2020 01:49, Brad Spencer wrote:
>> @@ -2352,6 +2361,7 @@
>> if (*af == AF_INET) {
>> packet_len = ntohs(ip->ip_len);
>> } else {
>> +#ifdef INET6
>> const struct ip6_hdr *ip6;
>>
>> if (__predict_false(decrypted_le
On 11/11/2020 01:49, Brad Spencer wrote:
@@ -2352,6 +2361,7 @@
if (*af == AF_INET) {
packet_len = ntohs(ip->ip_len);
} else {
+#ifdef INET6
const struct ip6_hdr *ip6;
if (__predict_false(decrypted_len < sizeof(struct ip6_hdr)))
Might be be
Hello... I would like to first thanks everyone who worked on and
contributed wg(4). For the past week or so I have been pushing lots of
bits attaching a 9.99.74 DOMU to a commercial VPN provider who provides
WireGuard as an option. After working out their rest API to get keys
set, it has been w