Gleb Smirnoff 36b9136d2b Use newer IP_MULTICAST_IF API
Use newer API for IP_MULTICAST_IF which allows one to specify
interface by index, not by address. Introduced in Linux 3.5, it IMHO should
be available on all systems that declare struct ip_mreqn.

This fixes operation failure when a system has multiple interfaces
with same address, but only on of them is desired. Example:

> grep interface /usr/local/etc/minidlna.conf
network_interface=igb0
> ifconfig igb0
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 0c:c4:7a:xx:xx:xx
        inet 10.1.10.3 netmask 0xffffff00 broadcast 10.1.10.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
> ifconfig ng0
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1454
        inet 10.1.10.3 --> 10.1.10.2 netmask 0xffffffff

In such configuration, ng0 would be chosen before this fix.
2020-11-24 10:53:50 -08:00
2017-04-28 01:18:53 -07:00
2020-11-18 14:45:11 -08:00
2018-01-16 17:05:40 -08:00
2020-11-18 14:45:11 -08:00
2018-01-23 22:01:10 -08:00
2018-01-23 22:01:10 -08:00
2020-11-18 14:45:11 -08:00
2017-08-22 15:30:10 -07:00
2018-01-11 16:09:15 -08:00
2018-01-11 16:09:15 -08:00
2018-01-11 16:09:15 -08:00
2020-11-24 10:53:50 -08:00
2018-01-16 17:05:40 -08:00
2017-08-24 10:28:25 -07:00
2017-08-22 15:30:10 -07:00
2017-08-22 15:30:10 -07:00
2018-01-16 17:05:40 -08:00
2018-01-16 16:55:26 -08:00
2017-08-23 23:43:42 -07:00
2018-01-16 16:53:10 -08:00
2018-01-23 22:01:10 -08:00
2018-01-16 16:49:49 -08:00
2018-01-03 23:01:46 -08:00
2018-05-04 16:11:25 -07:00
2020-11-18 14:45:11 -08:00

MiniDLNA project
(c) 2009 Justin Maggard
Portions (c) 2006-2007 Thomas Bernard
webpage: http://sourceforge.net/projects/minidlna/

This directory contains the MiniDLNA daemon software.
This software is subject to the conditions detailed in
the LICENCE file provided with this distribution.

Parts of the software including the discovery code are
licensed under the BSD revised license which is detailed
in the LICENSE.miniupnpd file provided with the distribution.
More information on MiniUPnPd can be found at http://miniupnp.free.fr.


The MiniDLNA daemon is an UPnP-A/V and DLNA service which
serves multimedia content to compatible clients on the network.
See http://www.upnp.org/ for more details on UPnP
and http://www.dlna.org/ for mode details on DLNA.

Prerequisites
==================

- libexif
- libjpeg
- libid3tag
- libFLAC
- libvorbis
- libsqlite3
- libavformat (the ffmpeg libraries)


Justin Maggard
Description
A fork of readymedia/minidlna with opus support added
Readme 1.6 MiB
Languages
C 96.4%
M4 2.2%
Roff 0.8%
Shell 0.3%
Makefile 0.3%