Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
a8468e72
Commit
a8468e72
authored
Dec 05, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use OS default for multicast hop limit if not overriden by the user
parent
494933e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/network/udp.c
src/network/udp.c
+2
-5
No files found.
src/network/udp.c
View file @
a8468e72
...
@@ -165,11 +165,7 @@ int __net_ConnectUDP( vlc_object_t *p_this, const char *psz_host, int i_port,
...
@@ -165,11 +165,7 @@ int __net_ConnectUDP( vlc_object_t *p_this, const char *psz_host, int i_port,
i_port
=
1234
;
/* historical VLC thing */
i_port
=
1234
;
/* historical VLC thing */
if
(
i_hlim
<
1
)
if
(
i_hlim
<
1
)
{
i_hlim
=
var_CreateGetInteger
(
p_this
,
"ttl"
);
i_hlim
=
var_CreateGetInteger
(
p_this
,
"ttl"
);
if
(
i_hlim
<
1
)
i_hlim
=
1
;
}
memset
(
&
hints
,
0
,
sizeof
(
hints
)
);
memset
(
&
hints
,
0
,
sizeof
(
hints
)
);
hints
.
ai_socktype
=
SOCK_DGRAM
;
hints
.
ai_socktype
=
SOCK_DGRAM
;
...
@@ -214,7 +210,8 @@ int __net_ConnectUDP( vlc_object_t *p_this, const char *psz_host, int i_port,
...
@@ -214,7 +210,8 @@ int __net_ConnectUDP( vlc_object_t *p_this, const char *psz_host, int i_port,
}
}
#endif
#endif
net_SetMcastHopLimit
(
p_this
,
fd
,
ptr
->
ai_family
,
i_hlim
);
if
(
hlim
>
0
)
net_SetMcastHopLimit
(
p_this
,
fd
,
ptr
->
ai_family
,
i_hlim
);
psz_mif_addr
=
config_GetPsz
(
p_this
,
"miface-addr"
);
psz_mif_addr
=
config_GetPsz
(
p_this
,
"miface-addr"
);
if
(
psz_mif_addr
!=
NULL
)
if
(
psz_mif_addr
!=
NULL
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment