Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
wangjie
OpenXG-RAN
Commits
2082828a
Commit
2082828a
authored
Jan 22, 2020
by
Haruki NAOI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation.
parent
564db1a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
nfapi/open-nFAPI/vnf/src/vnf_interface.c
nfapi/open-nFAPI/vnf/src/vnf_interface.c
+4
-4
No files found.
nfapi/open-nFAPI/vnf/src/vnf_interface.c
View file @
2082828a
...
...
@@ -215,7 +215,7 @@ void init_server_eventfd(int *watch_fd_list, int client_num, char *path)
if
((
conn_socket
=
socket
(
AF_UNIX
,
SOCK_STREAM
,
0
))
<
0
)
{
perror
(
"socket (init_server_eventfd)
\n
"
);
exit_fun
(
"init_server_eventfd fatal: socket err"
);
exit
(
1
);
}
addr
.
sun_family
=
AF_UNIX
;
...
...
@@ -226,7 +226,7 @@ void init_server_eventfd(int *watch_fd_list, int client_num, char *path)
if
(
bind
(
conn_socket
,
(
const
struct
sockaddr
*
)
&
addr
,
sizeof
(
struct
sockaddr_un
))
==
-
1
)
{
perror
(
"bind (init_server_eventfd)
\n
"
);
exit_fun
(
"init_server_eventfd fatal: bind err"
);
exit
(
1
);
}
printf
(
"bind completed (init_server_eventfd)
\n
"
);
...
...
@@ -235,7 +235,7 @@ void init_server_eventfd(int *watch_fd_list, int client_num, char *path)
if
(
listen
(
conn_socket
,
16
)
==
-
1
)
{
perror
(
"listen (init_server_eventfd)"
);
exit_fun
(
"init_server_eventfd fatal: listen err"
);
exit
(
1
);
}
printf
(
"init_server_eventfd : now listening
\n
"
);
...
...
@@ -245,7 +245,7 @@ void init_server_eventfd(int *watch_fd_list, int client_num, char *path)
if
((
fd
=
accept
(
conn_socket
,
NULL
,
NULL
))
==
-
1
)
{
perror
(
"accept (init_server_eventfd)
\n
"
);
exit_fun
(
"init_server_eventfd fatal: accept err"
);
exit
(
1
);
}
printf
(
"accept completed (init_server_eventfd)
\n
"
);
...
...
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