diff options
author | 2017-09-20 13:06:53 -0700 | |
---|---|---|
committer | 2017-09-20 16:06:53 -0400 | |
commit | ec21f83425e484b2fa11607493e077c4184208c6 (patch) | |
tree | 242b79158928ad608f89f61d5a4fef420766c5b7 /plugin/rewrite/class.go | |
parent | 36c7aa6437ccf574318b838d8dffda8c7e59216b (diff) | |
download | coredns-ec21f83425e484b2fa11607493e077c4184208c6.tar.gz coredns-ec21f83425e484b2fa11607493e077c4184208c6.tar.zst coredns-ec21f83425e484b2fa11607493e077c4184208c6.zip |
Modify the rewrite plugin to write multiple EDNS0 options (#936) (#1096)
* Add processing mode
* Add processing mode
* Update UTs
* Update README.md
* Change to use the constant Stop
* Fix README per review comments
Diffstat (limited to 'plugin/rewrite/class.go')
-rw-r--r-- | plugin/rewrite/class.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/rewrite/class.go b/plugin/rewrite/class.go index 8cc7d26b7..8befdf8c2 100644 --- a/plugin/rewrite/class.go +++ b/plugin/rewrite/class.go @@ -33,3 +33,8 @@ func (rule *classRule) Rewrite(w dns.ResponseWriter, r *dns.Msg) Result { } return RewriteIgnored } + +// Mode returns the processing mode +func (rule *classRule) Mode() string { + return Stop +} |