VirtualBox

Changeset 76031 in vbox


Ignore:
Timestamp:
Dec 6, 2018 8:24:40 PM (6 years ago)
Author:
vboxsync
Message:

NAT: Exegetical tradition of RFC1035 holds that "Not Implemented"
response code is strictly for unsupported OPCODEs. ticketref:18171

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/hostres.c

    r69500 r76031  
    266266    {
    267267        LogErr(("NAT: hostres: multiple questions\n"));
    268         refuse_mbuf(m, RCode_NotImp);
     268        refuse_mbuf(m, RCode_FormErr);
    269269        return VERR_PARSE_ERROR;
    270270    }
     
    273273    {
    274274        LogErr(("NAT: hostres: answers in query\n"));
    275         refuse_mbuf(m, RCode_NotImp);
     275        refuse_mbuf(m, RCode_FormErr);
    276276        return VERR_PARSE_ERROR;
    277277    }
     
    512512    {
    513513        LogErr(("NAT: hostres: unsupported qclass %d\n", qclass));
    514         return refuse(res, RCode_NotImp);
     514        return refuse(res, RCode_NXDomain);
    515515    }
    516516
     
    521521    {
    522522        LogErr(("NAT: hostres: unsupported qtype %d\n", qtype));
    523         return refuse(res, RCode_NotImp);
     523        return refuse(res, RCode_NXDomain);
    524524    }
    525525
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette