Diff for /tftpd/inc/defs.h between versions 1.1 and 1.3

version 1.1, 2014/02/14 15:38:37 version 1.3, 2014/02/20 00:04:36
Line 3 Line 3
   
   
 #ifndef STRSIZ  #ifndef STRSIZ
#define STRSIZ          256#define STRSIZ                  256
 #endif  #endif
   
#define DEFAULT_CFGNAME "/etc/tftpd.conf"#define DEFAULT_CFGNAME         "/etc/tftpd.conf"
#define DEFAULT_TIMEOUT 5#define DEFAULT_TIMEOUT         5
#define TFTP_PKT_MAX    516#define TFTP_PKT_MAX            516
#define TFTP_LOAD_MAX   512#define TFTP_LOAD_MAX           512
   
   #define TFTP_OPT_TSIZE          "tsize"
   #define TFTP_OPT_BLKSIZE        "blksize"
   #define TFTP_OPT_TIMEOUT        "timeout"
   
   
 struct tagCli {  struct tagCli {
         int             opc;          int             opc;
         u_short         seq;          u_short         seq;
Line 21  struct tagCli { Line 25  struct tagCli {
         char            file[PATH_MAX];          char            file[PATH_MAX];
         char            mode[10];          char            mode[10];
         short           close;          short           close;
           short           opts;
 };  };
   
   

Removed from v.1.1  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>