Ethereal-dev: [Ethereal-dev] [PATCH] Modified packet dissector for bootp to display Option 118

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

From: Stephen Donovan <stephen.donovan@xxxxxxxxx>
Date: Wed, 12 Oct 2005 13:11:50 -0400
I frequently make use of Option 118, Subnet Selection for IPv4, in one of the products that I work on. WIth the current version of ethereal, I must manually convert the hex to an IP address. A very minor change to packet-bootp.c allows Ethereal to decode the IP address inside of Option 118. A simple type change was all that was necessary. I have tested this on my machine and it works under Linux, but I do not have a Windows build environment.

-        /* 118 */ { "Subnet Selection Option",                   opaque, NULL },
+        /* 118 */ { "Subnet Selection Option",                   ipv4_list, NULL },


Attachment: packet-bootp.diff
Description: Binary data