[PATCH] The DHCPREQUEST message should contain the same 'xid' as the DHCPOFFER message

Lambrecht Jürgen J.Lambrecht@TELEVIC.com
Wed Feb 12 13:08:00 GMT 2014


Hi,

I found a bug and fixed it, so I don't know if I need to use bugzilla 
for that?
In attach the patch.

file: net/common/current/src/dhcp_prot.c

According to RFC 2131 (http://www.faqs.org/rfcs/rfc2131.html): "The 
DHCPREQUEST message contains the same 'xid' as the DHCPOFFER message."
So in a DHCP DORA cycle (Discover-Offer-Request-Acknowledge) the same 
transaction ID should be used ('xid' in C code).
We never had problems with that, but now we have a strict customer..

Kind regards,
Jürgen

-- 
Jürgen Lambrecht
R&D Associate
Mobile: +32 499 644 531
Tel: +32 (0)51 303045    Fax: +32 (0)51 310670
http://www.televic-rail.com
Televic Rail NV - Leo Bekaertlaan 1 - 8870 Izegem - Belgium
Company number 0825.539.581 - RPR Kortrijk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcp_prot.patch
Type: text/x-patch
Size: 1192 bytes
Desc: dhcp_prot.patch
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20140212/58d6c7a1/attachment.bin>


More information about the Ecos-patches mailing list