diff --git a/src/Makefile b/src/Makefile index 1407de4..01f873c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -80,9 +80,6 @@ install: wg @[ "$(WITH_WGQUICK)" = "yes" -a "$(WITH_SYSTEMDUNITS)" = "yes" ] || exit 0; \ install -v -d "$(DESTDIR)$(SYSTEMDUNITDIR)" && install -m 0644 -v wg-quick@.service "$(DESTDIR)$(SYSTEMDUNITDIR)/wg-quick@.service" -check: clean - CFLAGS=-g scan-build --view --keep-going $(MAKE) wg - help: @cat INSTALL 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);