mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Correct the syntax description for the MAPADDRESS command.
In 0.4.1.1-alpha I introduced a bug where we would require and ignore a single positional argument. Fixes bug 31772.
This commit is contained in:
parent
a3342b382a
commit
25af8ada30
4
changes/ticket31772
Normal file
4
changes/ticket31772
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (controller protocol):
|
||||
- Fix the MAPADDRESS controller command to accept one or more
|
||||
arguments. Previously, it required two or more arguments, and ignored
|
||||
the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
|
@ -639,7 +639,9 @@ address_is_invalid_mapaddress_target(const char *addr)
|
||||
}
|
||||
|
||||
static const control_cmd_syntax_t mapaddress_syntax = {
|
||||
.max_args=1,
|
||||
// no positional arguments are expected
|
||||
.max_args=0,
|
||||
// an arbitrary number of K=V entries are supported.
|
||||
.accept_keywords=true,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user