X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=f2b587c96bf1aa73e17d77addcf0e4d68ae2836c;hb=3074dad170a1c6755090bd12c3fb9903cde531ab;hp=499a7b86b7398631998e55fcb5acb3f8d63aef70;hpb=743d3cefc244e669c9265da8355e8722d990fc8e;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index 499a7b86..f2b587c9 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -1931,7 +1931,7 @@ static int cmd_config(int argc, char *argv[]) { found = true; variable = (char *)variables[i].name; - if(!strcasecmp(variable, "Subnet")) { + if(!strcasecmp(variable, "Subnet") && *value) { subnet_t s = {0}; if(!str2net(&s, value)) {