Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
nanahira
Dnsmasq
Commits
fd05f127
Commit
fd05f127
authored
Aug 12, 2012
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set prefix on-link bit in RAs
parent
ad094275
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
CHANGELOG
CHANGELOG
+3
-0
src/radv.c
src/radv.c
+2
-2
No files found.
CHANGELOG
View file @
fd05f127
...
@@ -45,6 +45,9 @@ version 2.63
...
@@ -45,6 +45,9 @@ version 2.63
uk.org.thekelleys.dnsmasq. Thanks to Mathieu
uk.org.thekelleys.dnsmasq. Thanks to Mathieu
Trudel-Lapierre for the patch.
Trudel-Lapierre for the patch.
Set the "prefix on-link" bit in Router
Advertisements. Thanks to Gui Iribarren for the patch.
version 2.62
version 2.62
Update German translation. Thanks to Conrad Kostecki.
Update German translation. Thanks to Conrad Kostecki.
...
...
src/radv.c
View file @
fd05f127
...
@@ -412,8 +412,8 @@ static int add_prefixes(struct in6_addr *local, int prefix,
...
@@ -412,8 +412,8 @@ static int add_prefixes(struct in6_addr *local, int prefix,
opt
->
type
=
ICMP6_OPT_PREFIX
;
opt
->
type
=
ICMP6_OPT_PREFIX
;
opt
->
len
=
4
;
opt
->
len
=
4
;
opt
->
prefix_len
=
prefix
;
opt
->
prefix_len
=
prefix
;
/* autonomous only if we're not doing dhcp */
/* autonomous only if we're not doing dhcp
, always set "on-link"
*/
opt
->
flags
=
do_slaac
?
0x
40
:
0x0
0
;
opt
->
flags
=
do_slaac
?
0x
C0
:
0x8
0
;
opt
->
valid_lifetime
=
htonl
(
time
);
opt
->
valid_lifetime
=
htonl
(
time
);
opt
->
preferred_lifetime
=
htonl
(
deprecate
?
0
:
time
);
opt
->
preferred_lifetime
=
htonl
(
deprecate
?
0
:
time
);
opt
->
reserved
=
0
;
opt
->
reserved
=
0
;
...
...
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