[mythtv-firehose] mythtv/gpu-commflag commit: c895f45a1 by Raymond Wagner (wagnerrp)

MythTV noreply at mythtv.org
Fri Feb 17 02:16:44 UTC 2012


      Author:  Raymond Wagner <rwagner at mythtv.org>
 Change Date:  2012-02-12T00:11:08-08:00
   Push Date:  2012/02/16 18:16:26 -0800
  Repository:  mythtv
      Branch:  gpu-commflag
New Revision:  c895f45a143892ec26d432f51a2a84d55231854e
   Changeset:  https://github.com/MythTV/mythtv/commit/c895f45a1

Log:

Add methods for IP selection.

This adds a mechanism to determine a list of addresses that servers
should listen to, based off those defined for the machine. If
BackendServerIP or BackendServerIP6 are defined for that host, only
those and localhost addresses are selected.  If otherwise, any
link-local addresses are filtered out, and IPv4 is limited to only
RFC1918 private ranges. If users wish to listen on an internet
accessible address, they will need to force that with those settings.

Also added is a GetBackendServerIP convenience function, replacing the
existing GetSettingOnHost calls, and returning an IPv4 or IPv6 address
as is available.

Modified:

   mythtv/libs/libmythbase/mythcorecontext.cpp
   mythtv/libs/libmythbase/mythcorecontext.h



More information about the mythtv-firehose mailing list