[vlc-devel] [PATCH] avahi: remove unused default port

Jean-Baptiste Kempf jb at videolan.org
Mon Mar 7 14:11:08 CET 2016


Applied.

On 07 Mar, Petri Hintukainen wrote :
> ---
>  modules/services_discovery/avahi.c | 11 +++++------
>  1 file changed, 5 insertions(+), 6 deletions(-)
> 
> diff --git a/modules/services_discovery/avahi.c b/modules/services_discovery/avahi.c
> index 9834fa5..ee91afd 100644
> --- a/modules/services_discovery/avahi.c
> +++ b/modules/services_discovery/avahi.c
> @@ -79,13 +79,12 @@ static const struct
>  {
>      const char *psz_protocol;
>      const char *psz_service_name;
> -    uint16_t    i_default_port;
>  } protocols[] = {
> -    { "ftp", "_ftp._tcp", 21 },
> -    { "smb", "_smb._tcp", 445 },
> -    { "nfs", "_nfs._tcp", 2049 },
> -    { "sftp", "_sftp-ssh._tcp", 22 },
> -    { "rtsp", "_rtsp._tcp.local", 554 },
> +    { "ftp", "_ftp._tcp" },
> +    { "smb", "_smb._tcp" },
> +    { "nfs", "_nfs._tcp" },
> +    { "sftp", "_sftp-ssh._tcp" },
> +    { "rtsp", "_rtsp._tcp.local" },
>  };
>  #define NB_PROTOCOLS (sizeof(protocols) / sizeof(*protocols))
>  
> -- 
> 2.5.0
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list