Ethereal-dev: Re: [ethereal-dev] Patch to diferentiate between BOOTP and DHCP

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Paul Ionescu <ipaul@xxxxxxxxx>
Date: Thu, 18 May 2000 10:06:44 +0300
Gilbert Ramirez wrote:

> Thanks. To quickly filter for DHCP packets (as opposed to BOOTP) packets,
> the easy way would be to add a new BOOTP field "bootp.dhcp", which would
> be of FT_BOOLEAN type --- true if DHCP, false if not.
>
> The other approach would be to add another protocol, "DHCP", and quickly
> determine in the BOOTP dissector whether the packet is DHCP or regular
> BOOTP, and then use the appropriate protocol. There would be a lot
> of duplication of fields between BOOTP and DHCP, however. That's why
> I'm leaning towards the "bootp.dhcp" solution. What do you think?

I agree with you with the "bootp.dhcp" solution, and I made a new patch with
support for "bootp.dhcp" field.
I attached the new patch to this e-mail so that somebody can commit it to
CVS.
If there is something wrong with the patch, don't hesitate to tell me.

--

Air conditioned. Do _NOT_ open Windows.