Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149267537
D50450.1789791571.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
616 B
Referenced Files
None
Subscribers
None
D50450.1789791571.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
Sat, Sep 19, 4:19 AM (11 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29771489
Default Alt Text
D50450.1789791571.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