[vlc-devel] [PATCH] avahi: remove unused default port
Petri Hintukainen
phintuka at gmail.com
Mon Mar 7 11:37:50 CET 2016
---
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
More information about the vlc-devel
mailing list