Permalink
Browse files

Add configuration changes in mythtv-setup missed by a640d37

This adds the configuration options for AllowLinkLocal to mythtv-setup,
supposed to have been part of a640d37, but missed during the commit.
Note to translators, this adds some additional strings.
  • Loading branch information...
1 parent f1457cd commit b66f0cfb3bda67a9dc3eedc7e2b115bb14c40842 @wagnerrp wagnerrp committed Jul 18, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 mythtv/programs/mythtv-setup/backendsettings.cpp
@@ -41,6 +41,19 @@ static HostLineEdit *LocalServerIP6()
return gc;
}
+static HostCheckBox *UseLinkLocal()
+{
+ HostCheckBox *hc = new HostCheckBox("AllowLinkLocal");
+ hc->setLabel(QObject::tr("Listen on Link-Local addresses"));
+ hc->setValue(true);
+ hc->setHelpText(QObject::tr("Enable servers on this machine to listen on "
+ "link-local addresses. These are auto-configured "
+ "addresses and not accessible outside the local network. "
+ "This must be enabled for anything requiring Bonjour to "
+ "work."));
+ return hc;
+};
+
static HostLineEdit *LocalServerPort()
{
HostLineEdit *gc = new HostLineEdit("BackendServerPort");
@@ -856,6 +869,10 @@ BackendSettings::BackendSettings() {
new HorizontalConfigurationGroup(false, false, true, true);
localIP6->addChild(LocalServerIP6());
localServer->addChild(localIP6);
+ HorizontalConfigurationGroup *localUseLL =
+ new HorizontalConfigurationGroup(false, false, true, true);
+ localUseLL->addChild(UseLinkLocal());
+ localServer->addChild(localUseLL);
HorizontalConfigurationGroup* localPorts =
new HorizontalConfigurationGroup(false, false, true, true);
localPorts->addChild(LocalServerPort());

0 comments on commit b66f0cf

Please sign in to comment.