Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c9e72388
Commit
c9e72388
authored
Feb 11, 2004
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Kill remaining in6_u.u6_addrX uses.
parent
c197a403
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
net/ipv6/addrconf.c
net/ipv6/addrconf.c
+1
-1
net/ipv6/netfilter/ip6t_eui64.c
net/ipv6/netfilter/ip6t_eui64.c
+1
-1
No files found.
net/ipv6/addrconf.c
View file @
c9e72388
...
...
@@ -231,7 +231,7 @@ int ipv6_addr_type(const struct in6_addr *addr)
if
((
addr
->
s6_addr32
[
0
]
|
addr
->
s6_addr32
[
1
])
==
0
)
{
if
(
addr
->
s6_addr32
[
2
]
==
0
)
{
if
(
addr
->
in6_u
.
u
6_addr32
[
3
]
==
0
)
if
(
addr
->
s
6_addr32
[
3
]
==
0
)
return
IPV6_ADDR_ANY
;
if
(
addr
->
s6_addr32
[
3
]
==
htonl
(
0x00000001
))
...
...
net/ipv6/netfilter/ip6t_eui64.c
View file @
c9e72388
...
...
@@ -50,7 +50,7 @@ match(const struct sk_buff *skb,
eui64
[
0
]
|=
0x02
;
i
=
0
;
while
((
skb
->
nh
.
ipv6h
->
saddr
.
in6_u
.
u6_addr8
[
8
+
i
]
==
while
((
skb
->
nh
.
ipv6h
->
saddr
.
s6_addr
[
8
+
i
]
==
eui64
[
i
])
&&
(
i
<
8
))
i
++
;
if
(
i
==
8
)
...
...
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