diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-05-10 09:01:15 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-05-10 09:01:15 +0000 |
| commit | 504229f808836f4d74d6611fd666957e41e2a259 (patch) | |
| tree | 02ede46e41087b3998c1612dd76c3e618491be88 /appl/cmd/ip/tftpd.b | |
| parent | 5a8e3b995e300789b4ed1b432f17f1b386d0bda0 (diff) | |
20070510-1000 remove use of oldheaders mode
Diffstat (limited to 'appl/cmd/ip/tftpd.b')
| -rw-r--r-- | appl/cmd/ip/tftpd.b | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/appl/cmd/ip/tftpd.b b/appl/cmd/ip/tftpd.b index 12411078..c7edef4e 100644 --- a/appl/cmd/ip/tftpd.b +++ b/appl/cmd/ip/tftpd.b @@ -32,7 +32,7 @@ dbg := 0; restricted := 0; port := 69; -Udphdrsize: con IP->OUdphdrlen; +Udphdrsize: con IP->Udphdrlen; tftpcon: Sys->Connection; tftpreq: ref Sys->FD; @@ -498,8 +498,6 @@ openlisten() fatal("can't announce "+name); if(sys->fprint(tftpcon.cfd, "headers") < 0) fatal("can't set header mode"); - sys->fprint(tftpcon.cfd, "oldheaders"); - tftpreq = sys->open(tftpcon.dir+"/data", sys->ORDWR); if(tftpreq == nil) fatal("open udp data"); |
