Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
23413bf1
Commit
23413bf1
authored
Feb 27, 2012
by
Christian Beier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IPv6 support for LibVNCServer, part onepointfive: Fix compilation with IPv6 missing.
There was an oversight that crept in...
parent
83a7c713
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
rfbserver.c
libvncserver/rfbserver.c
+4
-0
sockets.c
libvncserver/sockets.c
+4
-0
No files found.
libvncserver/rfbserver.c
View file @
23413bf1
...
...
@@ -271,7 +271,11 @@ rfbNewTCPOrUDPClient(rfbScreenInfoPtr rfbScreen,
rfbProtocolVersionMsg
pv
;
rfbClientIteratorPtr
iterator
;
rfbClientPtr
cl
,
cl_
;
#ifdef LIBVNCSERVER_IPv6
struct
sockaddr_storage
addr
;
#else
struct
sockaddr_in
addr
;
#endif
socklen_t
addrlen
=
sizeof
(
addr
);
rfbProtocolExtension
*
extension
;
...
...
libvncserver/sockets.c
View file @
23413bf1
...
...
@@ -380,7 +380,11 @@ rfbProcessNewConnection(rfbScreenInfoPtr rfbScreen)
{
const
int
one
=
1
;
int
sock
=
-
1
;
#ifdef LIBVNCSERVER_IPv6
struct
sockaddr_storage
addr
;
#else
struct
sockaddr_in
addr
;
#endif
socklen_t
addrlen
=
sizeof
(
addr
);
fd_set
listen_fds
;
int
chosen_listen_sock
=
-
1
;
...
...
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