VirtualBox

Changeset 32747 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 24, 2010 8:16:19 AM (14 years ago)
Author:
vboxsync
Message:

NAT: reduces responsibility of DHCP server about validness of TFTP data (built-in TFTP server do the same check and reports in legacy way).

File:
1 edited

Legend:

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

    r30920 r32747  
    247247
    248248    /*DHCP Offer specific*/
    249     if (   tftp_prefix
    250         && RTDirExists(tftp_prefix)
    251         && bootp_filename)
     249    /*
     250     * we're care in built-in tftp server about existence/validness of the boot file.
     251     */
     252    if (bootp_filename)
    252253        RTStrPrintf((char*)rbp->bp_file, sizeof(rbp->bp_file), "%s", bootp_filename);
    253254
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