summaryrefslogtreecommitdiffstats
path: root/src/lib/eval/evaluate.cc
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2015-11-13 23:21:13 +0100
committerFrancis Dupont <fdupont@isc.org>2015-11-13 23:21:13 +0100
commit8197502648aba23699397d70e08beea9b9fe9bcd (patch)
tree5e34dd9dcfebd81c49281b909aa1a190a9c566e5 /src/lib/eval/evaluate.cc
parent[4094] Addressed comments (comments, complex test) (diff)
downloadkea-8197502648aba23699397d70e08beea9b9fe9bcd.tar.xz
kea-8197502648aba23699397d70e08beea9b9fe9bcd.zip
[4094] Changed EvalNotBoolError to shared EvalTypeError
Diffstat (limited to 'src/lib/eval/evaluate.cc')
-rw-r--r--src/lib/eval/evaluate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eval/evaluate.cc b/src/lib/eval/evaluate.cc
index 593a8c9541..a70ee2c6ed 100644
--- a/src/lib/eval/evaluate.cc
+++ b/src/lib/eval/evaluate.cc
@@ -32,7 +32,7 @@ bool evaluate(const Expression& expr, const Pkt& pkt) {
} else if (values.top() == "true") {
return (true);
} else {
- isc_throw(EvalNotBoolError, "Incorrect evaluation type. Expected "
+ isc_throw(EvalTypeError, "Incorrect evaluation type. Expected "
"\"false\" or \"true\", got \"" << values.top() << "\"");
}
}