From fb36417082906fe34851740f16618ca2ae395b45 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sat, 25 Mar 2006 15:44:22 +0000 Subject: [PATCH] Add default tftp filename --- bootpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2