mirror of
https://github.com/ntop/n2n.git
synced 2024-04-21 16:31:34 +00:00
Added better -A handling with config files
This commit is contained in:
+2
-2
@@ -624,11 +624,11 @@ static int loadFromFile(const char *path, n2n_edge_conf_t *conf, n2n_tuntap_priv
|
||||
|
||||
if(equal) {
|
||||
equal[0] = '\0';
|
||||
|
||||
value = &equal[1];
|
||||
|
||||
if((value[0] == '\0') && (key[1] != '\0'))
|
||||
value = &key[1];
|
||||
} else {
|
||||
|
||||
value = NULL;
|
||||
|
||||
/* Adding an exception for -A_ -z_ which can come
|
||||
|
||||
Reference in New Issue
Block a user