Bug#501025: tftpd-hpa fails to turn of pmtu in standalone mod

2009-04-26 Thread Daniel Baumann
Hi,

this got fixed in upstream version 5.0.

Regards,
Daniel

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#501025: tftpd-hpa fails to turn of pmtu in standalone mod

2008-10-03 Thread Florian Lohoff
Package: tftpd-hpa
Version: 0.48-2.2.1
Severity: important
Tags: patch


Hi,
in standalone mode tftpd-hpa fails to turn off PMTU discovery in
due to wrong usage of fd's

diff -Nur tftp-hpa-0.48/tftpd/tftpd.c tftp-hpa-0.48.flo/tftpd/tftpd.c
--- tftp-hpa-0.48/tftpd/tftpd.c 2007-01-31 00:51:05.0 +0100
+++ tftp-hpa-0.48.flo/tftpd/tftpd.c 2008-10-03 14:39:33.0 +0200
@@ -514,7 +514,7 @@
   }
 
   /* Disable path MTU discovery */
-  pmtu_discovery_off(0);
+  pmtu_discovery_off(fd);
 
   /* This means we don't want to wait() for children */
 #ifdef SA_NOCLDWAIT
@@ -710,7 +710,7 @@
   }
 
   /* Disable path MTU discovery */
-  pmtu_discovery_off(0);
+  pmtu_discovery_off(peer);
 
   tp = (struct tftphdr *)buf;
   tp_opcode = ntohs(tp->th_opcode);



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tftpd-hpa depends on:
ii  debconf [debconf-2.0]1.5.22  Debian configuration management sy
ii  libc62.7-13  GNU C Library: Shared libraries
ii  libwrap0 7.6.q-16Wietse Venema's TCP wrappers libra
ii  sysv-rc  2.86.ds1-61 System-V-like runlevel change mech

Versions of packages tftpd-hpa recommends:
ii  openbsd-inetd [inet-superse 0.20080125-1 The OpenBSD Internet Superserver
ii  update-inetd4.30+nmu1inetd configuration file updater

tftpd-hpa suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]