diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-06-25 06:18:23 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-06-25 06:18:23 +0000 |
commit | 4838e5d7f268f64bdeb25209e1e0a2145f8b1e41 (patch) | |
tree | adaeb8a90413b41b227a4ea27bbfa4d07ef7d0c8 /epan | |
parent | 360e555826ae11d6bd0a499119e48d6608aa3c76 (diff) |
From Max Ivanov:
The destination unreachable indication for external IP routes is at offset 24, not 4 as in internal IP routes.
svn path=/trunk/; revision=25598
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-eigrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-eigrp.c b/epan/dissectors/packet-eigrp.c index d29b5f24d7..b6b1be5263 100644 --- a/epan/dissectors/packet-eigrp.c +++ b/epan/dissectors/packet-eigrp.c @@ -372,7 +372,7 @@ static void dissect_eigrp_ip_ext (tvbuff_t *tvb, proto_tree *tree, proto_item *t } else { proto_tree_add_text (tree,tvb,offset,1,"Prefix Length = %u",length); proto_tree_add_text (tree,tvb,offset+1,addr_len,"Destination = %s",ip_to_str(ip_addr)); - proto_item_append_text (ti," %c %s/%u%s",offset==40?'=':',',ip_to_str(ip_addr),length,((tvb_get_ntohl(tvb,4)==0xffffffff)?" - Destination unreachable":"")); + proto_item_append_text (ti," %c %s/%u%s",offset==40?'=':',',ip_to_str(ip_addr),length,((tvb_get_ntohl(tvb,24)==0xffffffff)?" - Destination unreachable":"")); } } } |