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
9803eb31
Commit
9803eb31
authored
Oct 06, 2002
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/ipv6/addrconf.c: Use prefix of 64 for link-local addresses.
parent
6ebb1e2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
net/ipv6/addrconf.c
net/ipv6/addrconf.c
+3
-3
No files found.
net/ipv6/addrconf.c
View file @
9803eb31
...
...
@@ -786,7 +786,7 @@ static void addrconf_add_lroute(struct net_device *dev)
struct
in6_addr
addr
;
ipv6_addr_set
(
&
addr
,
htonl
(
0xFE800000
),
0
,
0
,
0
);
addrconf_prefix_route
(
&
addr
,
10
,
dev
,
0
,
RTF_ADDRCONF
);
addrconf_prefix_route
(
&
addr
,
64
,
dev
,
0
,
RTF_ADDRCONF
);
}
static
struct
inet6_dev
*
addrconf_add_dev
(
struct
net_device
*
dev
)
...
...
@@ -1161,7 +1161,7 @@ static void sit_add_v4_addrs(struct inet6_dev *idev)
flag
|=
IFA_HOST
;
}
if
(
idev
->
dev
->
flags
&
IFF_POINTOPOINT
)
plen
=
10
;
plen
=
64
;
else
plen
=
96
;
...
...
@@ -1211,7 +1211,7 @@ static void addrconf_add_linklocal(struct inet6_dev *idev, struct in6_addr *addr
{
struct
inet6_ifaddr
*
ifp
;
ifp
=
ipv6_add_addr
(
idev
,
addr
,
10
,
IFA_LINK
,
IFA_F_PERMANENT
);
ifp
=
ipv6_add_addr
(
idev
,
addr
,
64
,
IFA_LINK
,
IFA_F_PERMANENT
);
if
(
ifp
)
{
addrconf_dad_start
(
ifp
);
in6_ifa_put
(
ifp
);
...
...
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