diff options
author | Michael Brown | 2009-03-30 14:24:56 +0200 |
---|---|---|
committer | Michael Brown | 2009-03-30 14:24:56 +0200 |
commit | 323cdf8c4c510fc6da081b96994d0131c11a29dd (patch) | |
tree | 268806d5d1de34a96a446356a065057b060c7282 /src/arch | |
parent | [bzimage] Support old (pre-2.00 bootloader) Linux kernel formats (diff) | |
download | ipxe-323cdf8c4c510fc6da081b96994d0131c11a29dd.tar.gz ipxe-323cdf8c4c510fc6da081b96994d0131c11a29dd.tar.xz ipxe-323cdf8c4c510fc6da081b96994d0131c11a29dd.zip |
[xfer] Implement xfer_vreopen() to properly handle redirections
When handling a redirection event, we need to close the existing
connection before opening the new connection.
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/i386/interface/pxe/pxe_tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/interface/pxe/pxe_tftp.c b/src/arch/i386/interface/pxe/pxe_tftp.c index 715a0b61..cc7f830a 100644 --- a/src/arch/i386/interface/pxe/pxe_tftp.c +++ b/src/arch/i386/interface/pxe/pxe_tftp.c @@ -138,7 +138,7 @@ static void pxe_tftp_xfer_close ( struct xfer_interface *xfer __unused, static struct xfer_interface_operations pxe_tftp_xfer_ops = { .close = pxe_tftp_xfer_close, - .vredirect = xfer_vopen, + .vredirect = xfer_vreopen, .window = unlimited_xfer_window, .alloc_iob = default_xfer_alloc_iob, .deliver_iob = pxe_tftp_xfer_deliver_iob, |