• Miek Gieben's avatar
    EDNS: return error on wrong version. (#95) · db3d689a
    Miek Gieben authored
    Split up the previous changes a bit. This PR only returns the expected
    error when the received packet has the wrong EDNS version.
    
    EDNS0 handling in the middleware needs a nicer abstraction, like
    ReflectEdns() or something.
    db3d689a
edns.go 802 Bytes