VirtualBox

Changeset 59202 in vbox


Ignore:
Timestamp:
Dec 21, 2015 4:45:30 PM (9 years ago)
Author:
vboxsync
Message:

NAT: If a query to the host resolver has anything except single
question, reply with RCODE NotImp, not FormErr.

File:
1 edited

Legend:

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

    r59201 r59202  
    236236    {
    237237        LogErr(("NAT: hostres: answers in query\n"));
    238         refuse(pData, m, RCode_FormErr);
     238        refuse(pData, m, RCode_NotImp);
    239239        return 1;
    240240    }
     
    243243    {
    244244        LogErr(("NAT: hostres: authority RRs in query\n"));
    245         refuse(pData, m, RCode_FormErr);
     245        refuse(pData, m, RCode_NotImp);
    246246        return 1;
    247247    }
     
    250250    {
    251251        LogErr(("NAT: hostres: additional info RRs in query\n"));
    252         refuse(pData, m, RCode_FormErr);
     252        refuse(pData, m, RCode_NotImp);
    253253        return 1;
    254254    }
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