BOOTP and DHCP

Hi all,
Earlier I had a problem getting BOOTP_ONLY mode to run but that was fixed by padding the request message to 342 bytes in the BOOTP.lib file. Now I would like my Rabbit module to run either BOOTP or DHCP depending on the type of network it is connected to. The problem is that I can run them separetely by using (or not using) #define BOOTP_ONLY but I can’t get it to try both to see which server is available.
What am I missing? If I am using the DC9.2 sample code correctly, they are not working. Does anyone have some working code that I can try?
Thank you,
Dmitry