No subnet stuff yet in reflect

This commit is contained in:
Miek Gieben 2013-01-27 17:18:25 +01:00
parent 9b9bdd599e
commit 59b6051c64
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ func handleReflect(w dns.ResponseWriter, r *dns.Msg) {
v4 = a.To4() != nil
}
/*
if o := r.IsEdns0(); o != nil {
for _, s := range o.Option {
switch e := s.(type) {
@ -80,6 +81,7 @@ func handleReflect(w dns.ResponseWriter, r *dns.Msg) {
}
}
}
*/
if v4 {
rr = new(dns.A)