diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2025-05-21 01:31:03 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2025-05-21 01:34:11 +0000 |
commit | 2a7e45eef31292cf9dd82caf3346eb2acb5b6225 (patch) | |
tree | 06c3c5a33b827a17950967f799d32b6aae365eb2 /ipc-uapi.h | |
parent | 93bf91b4012a28610672d2266366dfa0a663b70f (diff) |
Diffstat (limited to 'ipc-uapi.h')
-rw-r--r-- | ipc-uapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc-uapi.h b/ipc-uapi.h index f582916ecc9f..1d8a2710250a 100644 --- a/ipc-uapi.h +++ b/ipc-uapi.h @@ -89,7 +89,7 @@ static int userspace_set_device(struct wgdevice *dev) continue; } else continue; - fprintf(f, "allowed_ip=%s/%d\n", ip, allowedip->cidr); + fprintf(f, "allowed_ip=%s%s/%d\n", (allowedip->flags & WGALLOWEDIP_REMOVE_ME) ? "-" : "", ip, allowedip->cidr); } } fprintf(f, "\n"); |