Displaying 6 results from an estimated 6 matches for "446da63".
Did you mean:
446563
2015 Sep 04
2
[syslinux:master] tftp: Report server IP address on debug message
...t;
> When debugging, it is very useful to get the ip adress of the server
> that reponsded to that packet.
>
> ---
> core/fs/pxe/tftp.c | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/core/fs/pxe/tftp.c b/core/fs/pxe/tftp.c
> index 446da63..113ede2 100644
> --- a/core/fs/pxe/tftp.c
> +++ b/core/fs/pxe/tftp.c
> @@ -259,7 +259,16 @@ wait_pkt:
> } else {
> /* Make sure the packet actually came from the server and
> is long enough for a TFTP opcode */
> - dprintf("tftp_open: got packet bufle...
2015 Sep 05
1
[syslinux:master] tftp: Report server IP address on debug message
...server
> >> that reponsded to that packet.
> >>
> >> ---
> >> core/fs/pxe/tftp.c | 11 ++++++++++-
> >> 1 file changed, 10 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/core/fs/pxe/tftp.c b/core/fs/pxe/tftp.c
> >> index 446da63..113ede2 100644
> >> --- a/core/fs/pxe/tftp.c
> >> +++ b/core/fs/pxe/tftp.c
> >> @@ -259,7 +259,16 @@ wait_pkt:
> >> } else {
> >> /* Make sure the packet actually came from the server and
> >> is long enough for a T...
2015 Sep 05
0
[syslinux:master] tftp: Report server IP address on debug message
...very useful to get the ip adress of the server
>> that reponsded to that packet.
>>
>> ---
>> core/fs/pxe/tftp.c | 11 ++++++++++-
>> 1 file changed, 10 insertions(+), 1 deletion(-)
>>
>> diff --git a/core/fs/pxe/tftp.c b/core/fs/pxe/tftp.c
>> index 446da63..113ede2 100644
>> --- a/core/fs/pxe/tftp.c
>> +++ b/core/fs/pxe/tftp.c
>> @@ -259,7 +259,16 @@ wait_pkt:
>> } else {
>> /* Make sure the packet actually came from the server and
>> is long enough for a TFTP opcode */
>> -...
2015 Jan 15
0
PXE Error Reporting
...t flags, ...)
fp = &__file_info[fd];
+ errno = 0;
handle = open_file(pathname, flags, &fp->i.fd);
if (handle < 0) {
close(fd);
- errno = ENOENT;
+ if (!errno)
+ errno = ENOENT;
return -1;
}
diff --git a/core/fs/pxe/tftp.c b/core/fs/pxe/tftp.c
index 446da63..c89d3bf 100644
--- a/core/fs/pxe/tftp.c
+++ b/core/fs/pxe/tftp.c
@@ -205,6 +205,7 @@ void tftp_open(struct url_info *url, int flags, struct inode *inode,
uint64_t opdata;
uint16_t src_port;
uint32_t src_ip;
+ uint16_t error_code;
(void)redir; /* TFTP does not redirect */...
2013 Dec 01
0
[PATCH] core: Bad read of file size over TFTP
...ued a pull request for this patch or not.
Anyway, here it is as requested by Matt Fleming on the bugzilla.
core/fs/pxe/tftp.c | 46 +++++++++++-----------------------------------
1 file changed, 11 insertions(+), 35 deletions(-)
diff --git a/core/fs/pxe/tftp.c b/core/fs/pxe/tftp.c
index 1f374a3..446da63 100644
--- a/core/fs/pxe/tftp.c
+++ b/core/fs/pxe/tftp.c
@@ -8,27 +8,12 @@ const uint8_t TimeoutTable[] = {
2, 2, 3, 3, 4, 5, 6, 7, 9, 10, 12, 15, 18, 21, 26, 31, 37, 44,
53, 64, 77, 92, 110, 132, 159, 191, 229, 255, 255, 255, 255, 0
};
-struct tftp_options {
- const char *str_ptr;...
2015 Jan 15
3
PXE Error Reporting
Sebastian,
On 01/15/2015 12:49 AM, Sebastian Herbszt wrote:
> which version of pxelinux were you trying? Looks like < 5.x.
the one from Fedora 20, syslinux-4.05.
It turns out that pxelinux.0 from Fedora 21, syslinux-6.03, reports
"Failed to load ldlinux.c32" when ldlinux.c32 can't be read, and
"Loading <FILE>... failed: No such file or directory" when the