diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-11-19 09:58:37 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-11-19 09:58:37 +0000 |
commit | 493ede3ae8130c29e1d47add883b20942b6ec791 (patch) | |
tree | aa5725e13fa12c7c9761602b120ebe28e234aa19 /packet-isis-lsp.h | |
parent | f326f642169f80bc8f5a9e3a89cc727ba45a081c (diff) |
Fix the ATT bit definitions.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9037 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-isis-lsp.h')
-rw-r--r-- | packet-isis-lsp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-isis-lsp.h b/packet-isis-lsp.h index 597c490842..ab65962f50 100644 --- a/packet-isis-lsp.h +++ b/packet-isis-lsp.h @@ -1,7 +1,7 @@ /* packet-isis-lsp.h * Defines and such for LSP and their CLV decodes * - * $Id: packet-isis-lsp.h,v 1.17 2003/04/03 05:22:11 guy Exp $ + * $Id: packet-isis-lsp.h,v 1.18 2003/11/19 09:58:37 guy Exp $ * Stuart Stanley <stuarts@mxmail.net> * * Ethereal - Network traffic analyzer @@ -39,10 +39,10 @@ #define ISIS_LSP_ATT_SHIFT 3 #define ISIS_LSP_ATT(info) (((info) & ISIS_LSP_ATT_MASK) >> ISIS_LSP_ATT_SHIFT) -#define ISIS_LSP_ATT_DEFAULT(info) ((info) >> 3) -#define ISIS_LSP_ATT_DELAY(info) (((info) >> 2) & 1) -#define ISIS_LSP_ATT_EXPENSE(info) (((info) >> 1) & 1) -#define ISIS_LSP_ATT_ERROR(info) ((info) & 1) +#define ISIS_LSP_ATT_ERROR(info) ((info) >> 3) +#define ISIS_LSP_ATT_EXPENSE(info) (((info) >> 2) & 1) +#define ISIS_LSP_ATT_DELAY(info) (((info) >> 1) & 1) +#define ISIS_LSP_ATT_DEFAULT(info) ((info) & 1) #define ISIS_LSP_HIPPITY_MASK 0x04 #define ISIS_LSP_HIPPITY_SHIFT 2 |