Small fix to previous patch, from Motonori Shindo.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 30 Oct 2001 10:16:51 +0000 (10:16 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 30 Oct 2001 10:16:51 +0000 (10:16 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4106 f5534014-38df-0310-8fa8-9805f1628bb7

packet-ppp.c

index a932c818c44792f17ae761a43b0577f366d2dcbb..c265c2e0b09d5674fb4b164ffc68d18009641871 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-ppp.c
  * Routines for ppp packet disassembly
  *
- * $Id: packet-ppp.c,v 1.72 2001/10/29 19:48:45 guy Exp $
+ * $Id: packet-ppp.c,v 1.73 2001/10/30 10:16:51 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -649,8 +649,8 @@ static const ip_tcp_opt ipcp_opts[] = {
 #define MPPC_SUPPORTED_BITS_C  0x00000001      /* MPPC negotiation */
 #define MPPE_SUPPORTED_BITS_D  0x00000010      /* Obsolete */
 #define MPPE_SUPPORTED_BITS_L  0x00000020      /* 40-bit encryption */
-#define MPPE_SUPPORTED_BITS_S  0x00000040      /* 56-bit encryption */
-#define MPPE_SUPPORTED_BITS_M  0x00000080      /* 128-bit encryption */
+#define MPPE_SUPPORTED_BITS_S  0x00000040      /* 128-bit encryption */
+#define MPPE_SUPPORTED_BITS_M  0x00000080      /* 56-bit encryption */
 #define MPPE_SUPPORTED_BITS_H  0x01000000      /* stateless mode */
 
 static void dissect_ccp_stac_opt(const ip_tcp_opt *optp, tvbuff_t *tvb,
@@ -1317,10 +1317,10 @@ dissect_ccp_mppc_opt(const ip_tcp_opt *optp, tvbuff_t *tvb,
       "40-bit encryption ON", "40-bit encryption OFF"));
   proto_tree_add_text(flags_tree, tvb, offset + 2, 4, "%s",
       decode_boolean_bitfield(supported_bits, MPPE_SUPPORTED_BITS_S, 8*4, 
-      "56-bit encryption ON", "56-bit encryption OFF"));
+      "128-bit encryption ON", "128-bit encryption OFF"));
   proto_tree_add_text(flags_tree, tvb, offset + 2, 4, "%s",
       decode_boolean_bitfield(supported_bits, MPPE_SUPPORTED_BITS_M, 8*4, 
-      "128-bit encryption ON", "128-bit encryption OFF"));
+      "56-bit encryption ON", "56-bit encryption OFF"));
   proto_tree_add_text(flags_tree, tvb, offset + 2, 4, "%s",
       decode_boolean_bitfield(supported_bits, MPPE_SUPPORTED_BITS_H, 8*4, 
       "Stateless mode ON", "Stateless mode OFF"));