LISP: Fix action bits decoding

Change-Id: I76f5e10fbc5ca0071d1444e31ce4c8fba639c3bc
Signed-off-by: Lorand Jakab <ljakab@ac.upc.edu>
Reviewed-on: https://code.wireshark.org/review/30630
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Lorand Jakab 2018-11-14 17:27:37 +01:00 committed by Anders Broman
parent 66b9495b9e
commit 6f3e7a6d80
1 changed files with 7 additions and 1 deletions

View File

@ -46,6 +46,9 @@ void proto_reg_handoff_lisp(void);
#define LISP_ACT_FWD_NATIVE 1
#define LISP_ACT_MREQ 2
#define LISP_ACT_DROP 3
#define LISP_ACT_DROP_PD 4
#define LISP_ACT_DROP_AF 5
#define LISP_ACT_FWD_UA 6
#define DDT_NODE_REF 0
#define DDT_MS_REF 1
@ -420,7 +423,10 @@ const value_string mapping_actions[] = {
{ LISP_ACT_NONE, "No-Action" },
{ LISP_ACT_FWD_NATIVE, "Natively-Forward" },
{ LISP_ACT_MREQ, "Send-Map-Request" },
{ LISP_ACT_DROP, "Drop" },
{ LISP_ACT_DROP, "Drop/No-Reason" },
{ LISP_ACT_DROP_PD, "Drop/Policy-Denied" },
{ LISP_ACT_DROP_AF, "Drop/Authentication-Failure" },
{ LISP_ACT_FWD_UA, "Forward-For-Unknown-Address" },
{ 0, NULL}
};