source: npl/fileserver/tftp_hpa/get-off.patch @ 7c410f9

Last change on this file since 7c410f9 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
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  
    13781378    tsize_ok = 0;
    13791379    *errmsg = NULL;
    13801380
     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
    13811391    if (!secure) {
    13821392        if (*filename != '/') {
    13831393            *errmsg = "Only absolute filenames allowed";
Note: See TracBrowser for help on using the repository browser.