From: Chris Tallon Date: Sat, 25 Mar 2006 15:44:22 +0000 (+0000) Subject: Add default tftp filename X-Git-Tag: r0-2-5~21 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=fb36417082906fe34851740f16618ca2ae395b45;p=vompserver.git Add default tftp filename --- diff --git a/bootpd.c b/bootpd.c index 0a98fe0..777e8b2 100644 --- a/bootpd.c +++ b/bootpd.c @@ -230,8 +230,8 @@ void Bootpd::processRequest(UCHAR* data, int length) } else { - data[108] = '-'; - data[109] = '\0'; + strncpy((char*)&data[108], "vomp-dongle", 127); + config.setValueString("Boot", "TFTP file name", "vomp-dongle"); } // set to reply