the patch for a 1.7 source ...

--- dhcpdump-1.7/dhcpdump.c     Sun Oct 31 12:26:37 2004
+++ dhcpdump_olivier/dhcpdump.c Fri Jul  8 13:59:20 2005
@@ -456,6 +456,9 @@
        case 82:        // Relay Agent Information
            printf("\n");
            for (i=j+2;i<j+data[j+1];) {
+                if (i != j+2) {
+                  printf("\n");
+                }
                printf("%-17s %-13s ", " ",
                    data[i]>sizeof(relayagent_suboptions)?
                    "*wrong value*":
@@ -465,7 +468,7 @@
                    break;
                }
                printHexColon(data+i+2,data[i+1]);
-               i+=data[i+1];
+               i+=data[i+1]+2;
            }
            break;


Olivier
 


-----Original Message-----
From: Debian BTS on behalf of Debian Bug Tracking System
Sent: Fri 7/8/2005 4:03 PM
To: CHIROSSEL, Olivier
Subject: Bug#317440: Acknowledgement (dhcpdump display relay agent information)
 
Thank you for the problem report you have sent regarding Debian.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 Martin Schulze <[EMAIL PROTECTED]>

If you wish to submit further information on your problem, please send
it to [EMAIL PROTECTED] (and *not* to
[EMAIL PROTECTED]).

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


<<winmail.dat>>

Reply via email to