Closed mmattioli closed 9 years ago
I can add this in to #65 when I rebase after the merge to master
if that sounds good?
@psychomario that's exactly what I was thinking, better to fix two issues in one PR.
On a technical note, how do I go about rebasing these, accounting for the conflicts that will occur?
If you're on the branch associated with that PR (which seems to be branch staticassignments
) then a simple git rebase development
should do the trick and then replay all your commits on top of it one by one, as each commit is applied if there is a conflict it will stop and tell you there are conflicts and you need to resolve them, once you resolve the conflicts you do a git rebase --continue
and it will continue adding commits until another conflict at which point you will need to resolve those conflicts again; this continues until all of your "new" commits (relative to the feature branch) are added/resolved. Then you do a git push
. Make sense?
Got it, thanks. I can get both of my assigned PR's ready now, and I will do the DHCP testing tomorrow.
Sounds good :+1:
Proposal
In DHCPD's
listen()
, the setting ofself.options
and the check usingvalid_request
is overly global. We should probably useself.leases
as we already haveclient_mac
to use as the key.self.options
is used inlisten()
,valid_request
, andcraft_options
.A simple
s/self.options/self.leases[client_mac]["options"]/
would actually do the job. Everywhere we accessself.options
we haveclient_mac
. (Exceptvalidate_req
, for which we could either pass inclient_mac
, or option 60).