Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
771d94ca
Commit
771d94ca
authored
Oct 20, 2005
by
Marian Durkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
our address needs to be fetched via getsockname()
- now SAP announces have proper source address in o= line
parent
b83ce73c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/network.h
include/network.h
+1
-1
No files found.
include/network.h
View file @
771d94ca
...
@@ -552,7 +552,7 @@ static inline int net_GetSockAddress( int fd, char *address, int *port )
...
@@ -552,7 +552,7 @@ static inline int net_GetSockAddress( int fd, char *address, int *port )
struct
sockaddr_storage
addr
;
struct
sockaddr_storage
addr
;
socklen_t
addrlen
=
sizeof
(
addr
);
socklen_t
addrlen
=
sizeof
(
addr
);
return
get
peer
name
(
fd
,
(
struct
sockaddr
*
)
&
addr
,
&
addrlen
)
return
get
sock
name
(
fd
,
(
struct
sockaddr
*
)
&
addr
,
&
addrlen
)
||
vlc_getnameinfo
(
(
struct
sockaddr
*
)
&
addr
,
addrlen
,
address
,
||
vlc_getnameinfo
(
(
struct
sockaddr
*
)
&
addr
,
addrlen
,
address
,
NI_MAXNUMERICHOST
,
port
,
NI_NUMERICHOST
)
NI_MAXNUMERICHOST
,
port
,
NI_NUMERICHOST
)
?
VLC_EGENERIC
:
0
;
?
VLC_EGENERIC
:
0
;
...
...
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