Broken Exit Policy parsing in CVS
Thomas Themel
themel at iwoars.net
Fri May 21 20:35:02 UTC 2004
Hi,
I just tried running a current CVS node with custom exit policy. It
breaks since nickm changed the exit policy option to be
CONFIG_TYPE_LINELIST two days ago, but nobody updated the option parser
accordingly:
This fixes:
[zsh]themel at eristoteles:~/tor/tor-cvs$ cvs diff src/or/config.c
Index: src/or/config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.119
diff -r1.119 config.c
203c203
< config_compare(list, "ExitPolicy", CONFIG_TYPE_STRING, &options->ExitPolicy) ||
---
> config_compare(list, "ExitPolicy", CONFIG_TYPE_LINELIST, &options->ExitPolicy) ||
ciao,
--
[*Thomas Themel*] To be precise about an issue, one should not use a metaphor.
[extended contact] It is like jumping out of an aeroplane with no parachute,
[info provided in] but then different.
[*message header*] - Anonymous comment on Groklaw
More information about the tor-dev
mailing list