diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-05 20:52:19 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-05 22:21:53 +0200 |
commit | 38ac0ff08e15407d49e2664926d088fbbe4ecf29 (patch) | |
tree | 3704b9717f042aff1bd49cad71649e5f5c2175f0 /src/config.c | |
parent | Makefile: add non-verbose mode to tools (diff) | |
download | wireguard-tools-38ac0ff08e15407d49e2664926d088fbbe4ecf29.tar.xz wireguard-tools-38ac0ff08e15407d49e2664926d088fbbe4ecf29.zip |
Makefile: clang now builds the kernel, so use scan-build
Also add little stub for coccinelle and clean up semicolon issue it
found.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c index 0d8daeb..9f3f990 100644 --- a/src/config.c +++ b/src/config.c @@ -223,7 +223,7 @@ static inline bool parse_allowedips(struct wgpeer *peer, struct wgallowedip **la if (!mutable) { perror("strdup"); return false; - }; + } peer->flags |= WGPEER_REPLACE_ALLOWEDIPS; if (!strlen(value)) { free(mutable); |