Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 1998 11:56:20 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        serg@bcs.zp.ua (Sergey Shkonda)
Cc:        phk@FreeBSD.ORG, tegge@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: netboot bug
Message-ID:  <199806041856.LAA23340@bubba.whistle.com>
In-Reply-To: <199806041032.NAA07952@bcs3.bcs.zaporizhzhe.ua> from Sergey Shkonda at "Jun 4, 98 01:32:02 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Sergey Shkonda writes:
> There are ERROR in tftp implementation in netboot program:
> TFTP_ACK must be sent to another port, not a default TFTP one.
> 
> path: sys/i386/boot/netboot
> 
> 
> --- main.c.orig	Thu Jun  4 13:24:06 1998
> +++ main.c	Thu Jun  4 13:23:52 1998
> @@ -464,6 +464,7 @@
>  				return(0);
>  			}			/* ACK PACKET */
>  			if (tr->opcode != ntohs(TFTP_DATA)) return(0);
> +			osocket = ntohs(tr->udp.src);
>  			tp.opcode = htons(TFTP_ACK);
>  			tp.u.ack.block = tr->u.data.block;
>  			udp_transmit(arptable[ARP_SERVER].ipaddr, isocket,
> 

Sergey-
Please file a bug report including your patch using send-pr(1).
That way your patch won't get lost.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806041856.LAA23340>