From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Thu, 04 Dec 2008 23:10:22 -0800 Subject: [U-Boot] [PATCH] net: Fix download command parsing In-Reply-To: <1228244391-4462-1-git-send-email-ptyser@xes-inc.com> References: <1228244391-4462-1-git-send-email-ptyser@xes-inc.com> Message-ID: <4938D3DE.5020002@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Peter, Peter Tyser wrote: > When CONFIG_SYS_HUSH_PARSER is defined network download > commands with 1 argument in the format 'tftp "/path/file"' > do not work as expected. The hush command parser strips > the quotes from "/path/file" which causes the network > commands to interpret "/path/file" as an address > instead of the intended filename. > > The previous check for a leading quote in netboot_common() > was replaced with a check which ensures only valid > numbers are treated as addresses. > > Signed-off-by: Peter Tyser > --- Applied to net repo. thanks, Ben