Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145787088
D50450.id157638.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
616 B
Referenced Files
None
Subscribers
None
D50450.id157638.diff
View Options
diff --git a/contrib/wireguard-tools/ipc-freebsd.h b/contrib/wireguard-tools/ipc-freebsd.h
--- a/contrib/wireguard-tools/ipc-freebsd.h
+++ b/contrib/wireguard-tools/ipc-freebsd.h
@@ -307,11 +307,8 @@
nvl_aips[j] = nvlist_create(0);
if (!nvl_aips[j])
goto err_peer;
- if (aip->flags) {
- //TODO: implement me
- ret = -EOPNOTSUPP;
- goto err_peer;
- }
+ if (aip->flags)
+ nvlist_add_number(nvl_aips[j], "flags", aip->flags);
nvlist_add_number(nvl_aips[j], "cidr", aip->cidr);
if (aip->family == AF_INET)
nvlist_add_binary(nvl_aips[j], "ipv4", &aip->ip4, sizeof(aip->ip4));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 25, 12:00 PM (18 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28973879
Default Alt Text
D50450.id157638.diff (616 B)
Attached To
Mode
D50450: wg: ipc: add allowed-ip flags support for FreeBSD
Attached
Detach File
Event Timeline
Log In to Comment