diff options
author | richardv <richardv@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-08-21 21:40:18 +0000 |
---|---|---|
committer | richardv <richardv@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-08-21 21:40:18 +0000 |
commit | 1efc41772337653558ddb3e3583919d1a76cfc91 (patch) | |
tree | ffa58bc8ec37b32230541b5605767d95be4be3c9 /epan/dissectors/packet-bootp.c | |
parent | 2d5008edbffc919098a703f2d717988e9ab16263 (diff) |
From Francois-Xavier Le Bail <fx.lebail@yahoo.com> / bug 1724:
The following patch decode DHCP option 249 (Classless Static Route) used by
some Microsoft systems. Same decoding as option 121 (RFC 3442).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22576 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bootp.c')
-rw-r--r-- | epan/dissectors/packet-bootp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c index 6b7224d803..b368fb54a5 100644 --- a/epan/dissectors/packet-bootp.c +++ b/epan/dissectors/packet-bootp.c @@ -557,7 +557,7 @@ static struct opt_info bootp_opt[] = { /* 246 */ { "Private", opaque, NULL }, /* 247 */ { "Private", opaque, NULL }, /* 248 */ { "Private", opaque, NULL }, -/* 249 */ { "Classless static routes", opaque, NULL }, +/* 249 */ { "Classless Static Route (Microsoft)", special, NULL }, /* 250 */ { "Private", opaque, NULL }, /* 251 */ { "Private", opaque, NULL }, /* 252 */ { "Proxy autodiscovery", string, NULL }, @@ -1229,7 +1229,8 @@ bootp_option(tvbuff_t *tvb, proto_tree *bp_tree, int voff, int eoff, } break; - case 121: { /* Classless Static Route */ + case 121: /* Classless Static Route */ + case 249: { /* Classless Static Route (Microsoft) */ int mask_width, significant_octets; optend = optoff + optlen; /* minimum length is 5 bytes */ |