diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2011-05-02 16:40:19 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2011-05-02 16:40:19 +0000 |
commit | 5c5e9a377ab1e85f32b32dd099099f6c34d125b8 (patch) | |
tree | 68a80c7104b04b2d5dedec2adc80b56fb8b1f115 /epan/dissectors | |
parent | 60cefeae89f5d1600d860dfe8b9ea34bda0d8236 (diff) |
From Peter Paluch via bug #5877: EIGRP dissector enhancement for RS/EOT
flags
Me: Add Peter to AUTHORS file.
svn path=/trunk/; revision=36965
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-eigrp.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/epan/dissectors/packet-eigrp.c b/epan/dissectors/packet-eigrp.c index 3d66f3627a..0956c87fdd 100644 --- a/epan/dissectors/packet-eigrp.c +++ b/epan/dissectors/packet-eigrp.c @@ -76,6 +76,8 @@ #define EIGRP_FLAGS_INIT 0x00000001 #define EIGRP_FLAGS_CONDRECV 0x00000002 +#define EIGRP_FLAGS_RESTART 0x00000004 +#define EIGRP_FLAGS_ENDOFTABLE 0x00000008 #define EIGRP_STUB_FLAGS_CONNECTED 0x0001 #define EIGRP_STUB_FLAGS_STATIC 0x0002 @@ -98,6 +100,8 @@ static gint hf_eigrp_checksum = -1; static gint hf_eigrp_flags = -1; /* Flags Tree */ static gint hf_eigrp_flags_init = -1; static gint hf_eigrp_flags_condrecv = -1; +static gint hf_eigrp_flags_restart = -1; +static gint hf_eigrp_flags_eot = -1; static gint hf_eigrp_sequence = -1; static gint hf_eigrp_acknowledge = -1; @@ -391,7 +395,9 @@ static void dissect_eigrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { eigrp_flags_tree = proto_item_add_subtree(ti, ett_eigrp_flags); proto_tree_add_item(eigrp_flags_tree, hf_eigrp_flags_init, tvb, 4, 4, FALSE); - proto_tree_add_item (eigrp_flags_tree, hf_eigrp_flags_condrecv, tvb, 4, 4, FALSE); + proto_tree_add_item(eigrp_flags_tree, hf_eigrp_flags_condrecv, tvb, 4, 4, FALSE); + proto_tree_add_item(eigrp_flags_tree, hf_eigrp_flags_restart, tvb, 4, 4, FALSE); + proto_tree_add_item(eigrp_flags_tree, hf_eigrp_flags_eot, tvb, 4, 4, FALSE); /* End Decode the EIGRP Flags Field */ @@ -1059,6 +1065,16 @@ void proto_register_eigrp(void) { FT_BOOLEAN, 32, NULL, EIGRP_FLAGS_CONDRECV, NULL, HFILL } }, + { &hf_eigrp_flags_restart, + { "Restart", "eigrp.flags.restart", + FT_BOOLEAN, 32, NULL, EIGRP_FLAGS_RESTART, + NULL, HFILL }, + }, + { &hf_eigrp_flags_eot, + { "End Of Table", "eigrp.flags.eot", + FT_BOOLEAN, 32, NULL, EIGRP_FLAGS_ENDOFTABLE, + NULL, HFILL } + }, { &hf_eigrp_sequence, { "Sequence", "eigrp.seq", FT_UINT32, BASE_DEC, NULL, 0x0, |