Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
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
Railgun
Coredns
Commits
c3d69bec
Commit
c3d69bec
authored
Nov 13, 2018
by
Sandeep Rajan
Committed by
Chris O'Haver
Nov 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix formatting (#2302)
parent
94c9aae3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
plugin/auto/auto.go
plugin/auto/auto.go
+2
-2
plugin/dnssec/dnskey.go
plugin/dnssec/dnskey.go
+2
-2
No files found.
plugin/auto/auto.go
View file @
c3d69bec
plugin/dnssec/dnskey.go
View file @
c3d69bec
...
@@ -81,10 +81,10 @@ func (d Dnssec) getDNSKEY(state request.Request, zone string, do bool, server st
...
@@ -81,10 +81,10 @@ func (d Dnssec) getDNSKEY(state request.Request, zone string, do bool, server st
// Return true iff this is a zone key with the SEP bit unset. This implies a ZSK (rfc4034 2.1.1).
// Return true iff this is a zone key with the SEP bit unset. This implies a ZSK (rfc4034 2.1.1).
func
(
k
DNSKEY
)
isZSK
()
bool
{
func
(
k
DNSKEY
)
isZSK
()
bool
{
return
k
.
K
.
Flags
&
(
1
<<
8
)
==
(
1
<<
8
)
&&
k
.
K
.
Flags
&
1
==
0
return
k
.
K
.
Flags
&
(
1
<<
8
)
==
(
1
<<
8
)
&&
k
.
K
.
Flags
&
1
==
0
}
}
// Return true iff this is a zone key with the SEP bit set. This implies a KSK (rfc4034 2.1.1).
// Return true iff this is a zone key with the SEP bit set. This implies a KSK (rfc4034 2.1.1).
func
(
k
DNSKEY
)
isKSK
()
bool
{
func
(
k
DNSKEY
)
isKSK
()
bool
{
return
k
.
K
.
Flags
&
(
1
<<
8
)
==
(
1
<<
8
)
&&
k
.
K
.
Flags
&
1
==
1
return
k
.
K
.
Flags
&
(
1
<<
8
)
==
(
1
<<
8
)
&&
k
.
K
.
Flags
&
1
==
1
}
}
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