diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/rewrite/edns0.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/rewrite/edns0.go b/plugin/rewrite/edns0.go index 65ce3b7f6..19533d721 100644 --- a/plugin/rewrite/edns0.go +++ b/plugin/rewrite/edns0.go @@ -194,7 +194,7 @@ func (rule *edns0VariableRule) ipToWire(family int, ipAddr string) ([]byte, erro case 2: return net.ParseIP(ipAddr).To16(), nil } - return nil, fmt.Errorf("Invalid IP address family (i.e. version) %d", family) + return nil, fmt.Errorf("invalid IP address family (i.e. version) %d", family) } // uint16ToWire writes unit16 to wire/binary format @@ -266,7 +266,7 @@ func (rule *edns0VariableRule) ruleData(w dns.ResponseWriter, r *dns.Msg) ([]byt return rule.portToWire(port) } - return nil, fmt.Errorf("Unable to extract data for variable %s", rule.variable) + return nil, fmt.Errorf("unable to extract data for variable %s", rule.variable) } // Rewrite will alter the request EDNS0 local options with specified variables |