summaryrefslogtreecommitdiffstats
path: root/src/lib/eval/eval_context.h
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2016-02-02 23:17:22 +0100
committerTomek Mrugalski <tomasz@isc.org>2016-02-02 23:17:22 +0100
commit6325cf1aefb95b862069dc4aaaf31184f70ee2ce (patch)
tree7dd67f0afd5f4ccdf6a3378758f2fa91a9915873 /src/lib/eval/eval_context.h
parent[master] version update (diff)
downloadkea-6325cf1aefb95b862069dc4aaaf31184f70ee2ce.tar.xz
kea-6325cf1aefb95b862069dc4aaaf31184f70ee2ce.zip
[4264] relay[123].hex token implemented.
Diffstat (limited to 'src/lib/eval/eval_context.h')
-rw-r--r--src/lib/eval/eval_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/eval/eval_context.h b/src/lib/eval/eval_context.h
index cd86cad8c1..3007efc3d9 100644
--- a/src/lib/eval/eval_context.h
+++ b/src/lib/eval/eval_context.h
@@ -101,6 +101,13 @@ public:
uint16_t convertOptionName(const std::string& option_name,
const isc::eval::location& loc);
+ /// @brief Returns the universe (v4 or v6)
+ ///
+ /// @return universe
+ Option::Universe getUniverse() {
+ return (option_universe_);
+ }
+
private:
/// @brief Flag determining scanner debugging.
bool trace_scanning_;