]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-lmp.c
Improve printout of DHCPv6 options.
[tcpdump] / print-lmp.c
index 2ff91c1ff407ed5bad8edccb3d5b895e2ba1aef0..556db173e49bd33e2a9603185ef754a8de25379c 100644 (file)
@@ -10,6 +10,8 @@
  * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  * FOR A PARTICULAR PURPOSE.
  *
+ * Support for the Link Management Protocol as per rfc 4204.
+ *
  * Original code by Hannes Gredler ([email protected])
  * Support for LMP service discovery extensions (defined by UNI 1.0) added
  * by Manu Pathak ([email protected]), May 2005
@@ -17,7 +19,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-lmp.c,v 1.9 2006-03-28 08:20:30 hannes Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-lmp.c,v 1.11 2007-08-02 17:32:49 hannes Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -307,9 +309,6 @@ static const struct tok lmp_data_link_subobj[] = {
 #define LMP_SD_SERVICE_CONFIG_CPSA_LINK_TYPE_SDH     5 /* UNI 1.0 Sec 9.4.2 */
 #define LMP_SD_SERVICE_CONFIG_CPSA_LINK_TYPE_SONET   6 /* UNI 1.0 Sec 9.4.2 */
 
-#define FALSE 0
-#define TRUE  1
-
 /*
  * the ctypes are not globally unique so for
  * translating it to strings we build a table based