VirtualBox

Changeset 70842 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 31, 2018 6:10:17 PM (7 years ago)
Author:
vboxsync
Message:

slirp: Drop optimistic asserts about something we can't control.

File:
1 edited

Legend:

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

    r69500 r70842  
    459459        }
    460460        dhcp_stat = SELECTING;
    461         Assert((bp->bp_ciaddr.s_addr == INADDR_ANY));
    462 #if 0
    463         /* DSL xid in request differ from offer */
    464         Assert((bp->bp_xid == bc->xid));
    465 #endif
     461        /* Assert((bp->bp_ciaddr.s_addr == INADDR_ANY)); */
    466462    }
    467463    else
     
    497493             *  ------------------------------
    498494             */
    499             Assert((server_ip == NULL && req_ip == NULL && bp->bp_ciaddr.s_addr != INADDR_ANY));
    500495            if (   server_ip
    501496                || req_ip
     
    507502            if (bc != NULL)
    508503            {
    509                 Assert((bc->addr.s_addr == bp->bp_ciaddr.s_addr));
     504                /* Assert((bc->addr.s_addr == bp->bp_ciaddr.s_addr)); */
    510505                /*if it already here well just do ack, we aren't aware of dhcp time expiration*/
    511506            }
     
    544539             *
    545540             */
    546             Assert(server_ip == NULL);
    547             Assert(req_ip != NULL);
    548541            if (   server_ip
    549542                || !req_ip
     
    577570
    578571        case NONE:
    579             Assert((dhcp_stat != NONE));
    580572            if (dhcp_stat == REBINDING)
    581573                LogRel(("NAT: REBINDING state isn't impemented\n"));
     
    819811
    820812        default:
    821             AssertMsgFailed(("unsupported DHCP message type"));
     813            /* unsupported DHCP message type */
     814            break;
    822815    }
    823816    /* silently ignore */
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