summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
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 520ff42c..764944a1 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -943,6 +943,15 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
// BitTorrent Specific Options
#ifdef ENABLE_BITTORRENT
{
+ SharedHandle<OptionHandler> op(new BooleanOptionHandler
+ (PREF_BT_ENABLE_LPD,
+ TEXT_BT_ENABLE_LPD,
+ V_FALSE,
+ OptionHandler::OPT_ARG));
+ op->addTag(TAG_BITTORRENT);
+ handlers.push_back(op);
+ }
+ {
SharedHandle<OptionHandler> op(new DefaultOptionHandler
(PREF_BT_EXTERNAL_IP,
TEXT_BT_EXTERNAL_IP,