소스 검색

TFTP default blocksize fix from Vampyre

tags/v0.9.3
Marty Connor 17 년 전
부모
커밋
14e1d3cc4d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/net/udp/tftp.c

+ 1
- 0
src/net/udp/tftp.c 파일 보기

@@ -647,6 +647,7 @@ int tftp_open ( struct xfer_interface *xfer, struct uri *uri ) {
647 647
 	xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt );
648 648
 	tftp->state = -1;
649 649
 	tftp->timer.expired = tftp_timer_expired;
650
+	tftp->blksize = TFTP_DEFAULT_BLKSIZE;
650 651
 
651 652
 	/* Open socket */
652 653
 	memset ( &server, 0, sizeof ( server ) );

Loading…
취소
저장