--- src/libexec/rbootd/rmpproto.c.orig Mon Nov 25 01:26:35 2002 +++ src/libexec/rbootd/rmpproto.c Mon Nov 25 21:55:54 2002 @@ -352,11 +352,20 @@ goto match; /* - * Invalid boot file name, set error and send reply packet. + * If the client didn't declare a filename to boot from, use the + * default bootimage specified in the rbootd.conf and proceed. + * In case the client specified a filename which is not available to + * boot from (not specified in the rboot.conf, or nonexistent in the + * filesystem), set error and send reply packet. */ - rpl->r_brpl.rmp_retcode = RMP_E_NOFILE; - retval = 0; - goto sendpkt; + if((strlen(filename) == 0) && filelist[0]) { + filename = filelist[0]; + goto match; + } else { + rpl->r_brpl.rmp_retcode = RMP_E_NOFILE; + retval = 0; + goto sendpkt; + } match: /*