aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mip.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2009-07-06 17:44:02 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2009-07-06 17:44:02 +0000
commit30dcce40785cadec5a88d6f79494e1033b3a4b54 (patch)
treea694660e99a355881ddf0e709c380670d7713706 /epan/dissectors/packet-mip.c
parent58299701a441f1de02b60aaa8a8f97580f46805d (diff)
OK, nobody cared about the waring, so just remove the
test for now. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28958 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-mip.c')
-rw-r--r--epan/dissectors/packet-mip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mip.c b/epan/dissectors/packet-mip.c
index 1d48e456f3..c57164496d 100644
--- a/epan/dissectors/packet-mip.c
+++ b/epan/dissectors/packet-mip.c
@@ -395,11 +395,15 @@ dissect_mip_extensions( tvbuff_t *tvb, int offset, proto_tree *tree)
proto_tree_add_item(ext_tree, hf_mip_ext_type, tvb, offset, 1, ext_type);
offset++;
+#if 0 /* FIXME: This test doesn't make sense: t != a1 || t != a2 is true if a1 != a2 */
if (ext_type != GEN_AUTH_EXT || ext_type != PMIPv4_NON_SKIP_EXT) {
+#endif
/* Another nasty hack since GEN_AUTH_EXT and PMIPv4_NON_SKIP_EXT broke everything */
proto_tree_add_uint(ext_tree, hf_mip_ext_len, tvb, offset, 1, ext_len);
offset++;
+#if 0
}
+#endif
switch (ext_type) {
case MH_AUTH_EXT: