Fix wrong numbering of OLSR message types
authorHenning Rogge <hrogge@googlemail.com>
Tue, 15 Sep 2009 16:26:19 +0000 (18:26 +0200)
committerHenning Rogge <hrogge@googlemail.com>
Tue, 15 Sep 2009 16:26:19 +0000 (18:26 +0200)
src/olsr_protocol.h

index 0a8f536..f21ca0a 100644 (file)
  */
 
 enum olsr_message_types {
-  HELLO_MESSAGE,        /* 1 */
-  TC_MESSAGE,           /* 2 */
-  MID_MESSAGE,          /* 3 */
-  HNA_MESSAGE,          /* 4 */
-  COUNT_MESSAGE_TYPES
+  HELLO_MESSAGE = 1,
+  TC_MESSAGE    = 2,
+  MID_MESSAGE   = 3,
+  HNA_MESSAGE   = 4,
 };
 
 /*