summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
authorAlexander Amanuel <iavael@yandex-team.ru>2014-01-24 23:50:51 +0400
committerAlexander Amanuel <iavael@yandex-team.ru>2014-01-28 00:13:15 +0400
commit924feb12b055422f632de7e80afc128378ff2999 (patch)
treed2ee7974cc71237c5620e9480fd6e626fe77539a /src/OptionHandlerFactory.cc
parentf2fa24b418f407bd94074b0988e3e5307e781bff (diff)
Added DSCP support
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index aa0c9e32..e97b3894 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -731,6 +731,15 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
handlers.push_back(op);
}
{
+ OptionHandler* op(new NumberOptionHandler
+ (PREF_DSCP,
+ TEXT_DSCP,
+ "0",
+ 0));
+ op->addTag(TAG_ADVANCED);
+ handlers.push_back(op);
+ }
+ {
OptionHandler* op(new BooleanOptionHandler
(PREF_SELECT_LEAST_USED_HOST,
NO_DESCRIPTION,