diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-06-28 12:52:19 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-06-28 12:52:19 +0000 |
commit | 0d75d64949c1adaeccde663b295ab819781a400c (patch) | |
tree | 8e35d511229d7a29976a9dcf225df5489db6e3c4 | |
parent | c1ddd6046d8968e8df1aaea2e4cda78fcde87d21 (diff) |
From Lorand Jakab via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8852 :
The I and R flags in Map-Notify LISP control packets are shown at an incorrect
position. The attached patch fixes the bug.
svn path=/trunk/; revision=50210
-rw-r--r-- | epan/dissectors/packet-lisp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-lisp.c b/epan/dissectors/packet-lisp.c index 083ccc332c..f52a9f74bd 100644 --- a/epan/dissectors/packet-lisp.c +++ b/epan/dissectors/packet-lisp.c @@ -1865,10 +1865,10 @@ proto_register_lisp(void) FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_lisp_mnot_flags_xtrid, { "I bit (xTR-ID present)", "lisp.mnot.flags.xtrid", - FT_BOOLEAN, 24, TFS(&tfs_set_notset), MAP_REG_FLAG_I, NULL, HFILL }}, + FT_BOOLEAN, 24, TFS(&tfs_set_notset), MAP_NOT_FLAG_I, NULL, HFILL }}, { &hf_lisp_mnot_flags_rtr, { "R bit (Built for an RTR)", "lisp.mnot.flags.rtr", - FT_BOOLEAN, 24, TFS(&tfs_set_notset), MAP_REG_FLAG_R, NULL, HFILL }}, + FT_BOOLEAN, 24, TFS(&tfs_set_notset), MAP_NOT_FLAG_R, NULL, HFILL }}, { &hf_lisp_mnot_res, { "Reserved bits", "lisp.mnot.res", FT_UINT24, BASE_HEX, NULL, MAP_NOT_RESERVED, "Must be zero", HFILL }}, @@ -1976,7 +1976,7 @@ proto_register_lisp(void) /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_lisp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - + /* Register dissector so that other dissectors can call it */ new_register_dissector("lisp", dissect_lisp, proto_lisp); } |