Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6b151e69
Commit
6b151e69
authored
Jun 20, 2022
by
Paul Gofman
Committed by
Alexandre Julliard
Jun 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nsiproxy.sys: Strip trailing end of line for iface name on Linux.
Signed-off-by:
Paul Gofman
<
pgofman@codeweavers.com
>
parent
d36e7857
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ip.c
dlls/nsiproxy.sys/ip.c
+4
-1
No files found.
dlls/nsiproxy.sys/ip.c
View file @
6b151e69
...
...
@@ -1014,7 +1014,7 @@ static NTSTATUS ipv4_neighbour_enumerate_all( void *key_data, UINT key_size, voi
#ifdef __linux__
{
char
buf
[
512
],
*
ptr
;
char
buf
[
512
],
*
ptr
,
*
s
;
UINT
atf_flags
;
FILE
*
fp
;
...
...
@@ -1053,6 +1053,9 @@ static NTSTATUS ipv4_neighbour_enumerate_all( void *key_data, UINT key_size, voi
while
(
*
ptr
&&
!
isspace
(
*
ptr
))
ptr
++
;
/* mask (skip) */
while
(
*
ptr
&&
isspace
(
*
ptr
))
ptr
++
;
s
=
ptr
;
while
(
*
s
&&
!
isspace
(
*
s
))
s
++
;
*
s
=
0
;
if
(
!
convert_unix_name_to_luid
(
ptr
,
&
entry
.
luid
))
continue
;
if
(
!
convert_luid_to_index
(
&
entry
.
luid
,
&
entry
.
if_index
))
continue
;
...
...
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