summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/acceptfunc.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/miekg/dns/acceptfunc.go')
-rw-r--r--vendor/github.com/miekg/dns/acceptfunc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/miekg/dns/acceptfunc.go b/vendor/github.com/miekg/dns/acceptfunc.go
index 825617fe21..3f29a48c48 100644
--- a/vendor/github.com/miekg/dns/acceptfunc.go
+++ b/vendor/github.com/miekg/dns/acceptfunc.go
@@ -25,6 +25,7 @@ var DefaultMsgAcceptFunc MsgAcceptFunc = defaultMsgAcceptFunc
// MsgAcceptAction represents the action to be taken.
type MsgAcceptAction int
+// Allowed returned values from a MsgAcceptFunc.
const (
MsgAccept MsgAcceptAction = iota // Accept the message
MsgReject // Reject the message with a RcodeFormatError