projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
743d3ce
)
Fix `tinc get Subnet` failing.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 26 Jul 2021 13:46:48 +0000
(15:46 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 26 Jul 2021 13:46:48 +0000
(15:46 +0200)
src/tincctl.c
patch
|
blob
|
history
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
499a7b8
..
f2b587c
100644
(file)
--- 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)) {