rec_control get <statistic> always returns three lines instead of one. #618

Closed
Habbie opened this Issue Apr 26, 2013 · 1 comment

Projects

None yet

1 participant

@Habbie
Member
Habbie commented Apr 26, 2013

Version is trunk revision 2905[[BR]]

Issue reproduction:

./dist-recursor

cd pdns-recursor-3.5-pre
make

./pdns_recursor --local-port=1053 --socket-dir=. --threads=1

./rec_control --socket-dir=. get questions
Warning: unable to parse configuration file '/etc/powerdns/recursor.conf'
0
UNKNOWN
0

dig -p 1053 @127.0.0.1 localhost
dig -p 1053 @127.0.0.1 localhost

./rec_control --socket-dir=. get questions
Warning: unable to parse configuration file '/etc/powerdns/recursor.conf'
2
UNKNOWN
2

@Habbie Habbie was assigned Apr 26, 2013
@Habbie Habbie closed this Apr 26, 2013
@Habbie
Member
Habbie commented Apr 26, 2013

Author: ahu
Good catch, caused by 'good intentions'. Closed in 2992.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment