From Peter Paluch via bug #5877: EIGRP dissector enhancement for RS/EOT
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 2 May 2011 16:40:19 +0000 (16:40 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 2 May 2011 16:40:19 +0000 (16:40 +0000)
flags

Me: Add Peter to AUTHORS file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36965 f5534014-38df-0310-8fa8-9805f1628bb7

AUTHORS
epan/dissectors/packet-eigrp.c

diff --git a/AUTHORS b/AUTHORS
index 8511589..4626ab5 100644 (file)
--- 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.
index 3d66f36..0956c87 100644 (file)
@@ -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,