source:
npl/fileserver/tftp_hpa/get-off.patch
@
7c410f9
Last change on this file since 7c410f9 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 575 bytes |
-
tftpd/tftpd.c
diff -ruN tftp-hpa-5.0/tftpd/tftpd.c tftp-hpa-5.0-debug/tftpd/tftpd.c
old new 1378 1378 tsize_ok = 0; 1379 1379 *errmsg = NULL; 1380 1380 1381 /* DatuX patch 1382 * Make tftpd read-only 1383 */ 1384 if(mode==WRQ) { 1385 nak(EOPTNEG, "This TFTP-server doesn't support write functions."); 1386 return(0); 1387 } 1388 1389 1390 1381 1391 if (!secure) { 1382 1392 if (*filename != '/') { 1383 1393 *errmsg = "Only absolute filenames allowed";
Note: See TracBrowser
for help on using the repository browser.