summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2011-05-02 16:40:19 +0000
committerStephen Fisher <steve@stephen-fisher.com>2011-05-02 16:40:19 +0000
commit5c5e9a377ab1e85f32b32dd099099f6c34d125b8 (patch)
tree68a80c7104b04b2d5dedec2adc80b56fb8b1f115
parent60cefeae89f5d1600d860dfe8b9ea34bda0d8236 (diff)
downloadwireshark-5c5e9a377ab1e85f32b32dd099099f6c34d125b8.tar.gz
From Peter Paluch via bug #5877: EIGRP dissector enhancement for RS/EOT
flags Me: Add Peter to AUTHORS file. svn path=/trunk/; revision=36965
-rw-r--r--AUTHORS1
-rw-r--r--epan/dissectors/packet-eigrp.c18
2 files changed, 18 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 851158969d..4626ab58f1 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -3447,6 +3447,7 @@ Dirk Jagdmann <doj [AT] cubic.org>
RSA <ryazanov.s.a [AT] gmail.com>
Juliusz Chroboczek <jch [AT] pps.jussieu.fr>
Vladimir Kazansky <vovjo [AT] yandex.ru>
+Peter Paluch <peter.paluch [AT] fri.uniza.sk>
Dan Lasley <dlasley[AT]promus.com> gave permission for his
dumpit() hex-dump routine to be used.
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,