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
7f68f821
Commit
7f68f821
authored
Sep 13, 2014
by
Ilya Ponetaev
Committed by
Simon Kelley
Sep 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DHCPv6 REBIND messages don't need a server-id.
parent
85900a24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/rfc3315.c
src/rfc3315.c
+2
-2
No files found.
src/rfc3315.c
View file @
7f68f821
...
@@ -313,8 +313,8 @@ static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, size_
...
@@ -313,8 +313,8 @@ static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, size_
else
if
(
msg_type
!=
DHCP6IREQ
)
else
if
(
msg_type
!=
DHCP6IREQ
)
return
0
;
return
0
;
/* server-id must match except for SOLICIT
and CONFIRM
messages */
/* server-id must match except for SOLICIT
, CONFIRM and REBIND
messages */
if
(
msg_type
!=
DHCP6SOLICIT
&&
msg_type
!=
DHCP6CONFIRM
&&
msg_type
!=
DHCP6IREQ
&&
if
(
msg_type
!=
DHCP6SOLICIT
&&
msg_type
!=
DHCP6CONFIRM
&&
msg_type
!=
DHCP6IREQ
&&
msg_type
!=
DHCP6REBIND
&&
(
!
(
opt
=
opt6_find
(
state
->
packet_options
,
state
->
end
,
OPTION6_SERVER_ID
,
1
))
||
(
!
(
opt
=
opt6_find
(
state
->
packet_options
,
state
->
end
,
OPTION6_SERVER_ID
,
1
))
||
opt6_len
(
opt
)
!=
daemon
->
duid_len
||
opt6_len
(
opt
)
!=
daemon
->
duid_len
||
memcmp
(
opt6_ptr
(
opt
,
0
),
daemon
->
duid
,
daemon
->
duid_len
)
!=
0
))
memcmp
(
opt6_ptr
(
opt
,
0
),
daemon
->
duid
,
daemon
->
duid_len
)
!=
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