Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
7bb6e9af
Commit
7bb6e9af
authored
Jan 05, 2007
by
Rémi Denis-Courmont
Browse files
Fix listening to UDP port (though this is fairly insecure) - closes #919
parent
b2ba6d7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network/udp.c
View file @
7bb6e9af
...
@@ -628,7 +628,10 @@ int __net_OpenUDP( vlc_object_t *obj, const char *psz_bind, int i_bind,
...
@@ -628,7 +628,10 @@ int __net_OpenUDP( vlc_object_t *obj, const char *psz_bind, int i_bind,
struct
addrinfo
hints
,
*
loc
,
*
rem
;
struct
addrinfo
hints
,
*
loc
,
*
rem
;
int
val
;
int
val
;
msg_Dbg
(
obj
,
"net: connecting to '[%s]:%d@[%s]:%d'"
,
if
(
!*
psz_server
)
return
net_ListenUDP1
(
obj
,
psz_bind
,
i_bind
);
msg_Dbg
(
obj
,
"net: connecting to [%s]:%d from [%s]:%d"
,
psz_server
,
i_server
,
psz_bind
,
i_bind
);
psz_server
,
i_server
,
psz_bind
,
i_bind
);
memset
(
&
hints
,
0
,
sizeof
(
hints
));
memset
(
&
hints
,
0
,
sizeof
(
hints
));
...
...
Write
Preview
Supports
Markdown
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