X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=499a7b86b7398631998e55fcb5acb3f8d63aef70;hb=743d3cefc244e669c9265da8355e8722d990fc8e;hp=ec4346969f04f9d09f26f52e3f75f9a6432add3d;hpb=04b588ea6be2ebd62922b638eae90a6a47326370;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index ec434696..499a7b86 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -1936,6 +1936,7 @@ static int cmd_config(int argc, char *argv[]) { if(!str2net(&s, value)) { fprintf(stderr, "Malformed subnet definition %s\n", value); + return 1; } if(!subnetcheck(s)) {