summaryrefslogtreecommitdiff
path: root/src/lib/config.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-11-28 19:24:45 +0100
committerCarl Hetherington <cth@carlh.net>2024-11-29 23:32:32 +0100
commitdb53687617961f5ae0c68d630472f2d9d927b4d4 (patch)
tree0f1e2eaae58bd7252a28acc417ba227145d61cc3 /src/lib/config.cc
parentf620b345e313b8195ffd631bb4af80b003bfba29 (diff)
Remove config of grok server port (#2900).
The server now always uses port 80.
Diffstat (limited to 'src/lib/config.cc')
-rw-r--r--src/lib/config.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index cd285abd1..2787b2de2 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -1747,7 +1747,6 @@ Config::Grok::Grok(cxml::ConstNodePtr node)
, binary_location(node->string_child("BinaryLocation"))
, selected(node->number_child<int>("Selected"))
, licence_server(node->string_child("LicenceServer"))
- , licence_port(node->number_child<int>("LicencePort"))
, licence(node->string_child("Licence"))
{
@@ -1761,7 +1760,6 @@ Config::Grok::as_xml(xmlpp::Element* node) const
node->add_child("Enable")->add_child_text((enable ? "1" : "0"));
node->add_child("Selected")->add_child_text(raw_convert<string>(selected));
node->add_child("LicenceServer")->add_child_text(licence_server);
- node->add_child("LicencePort")->add_child_text(raw_convert<string>(licence_port));
node->add_child("Licence")->add_child_text(licence);
}