]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf6d: move named constants to ospf6d.h
authorDenis Ovsienko <infrastation@yandex.ru>
Sat, 20 Aug 2011 16:58:15 +0000 (20:58 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Sat, 27 Aug 2011 17:18:51 +0000 (21:18 +0400)
ospf6d/ospf6_message.c
ospf6d/ospf6d.h

index 51933b7664e83a9f3f25b43eef514f979ba37754..f4df318bdf289fdb1685a8b1b33c293313c59578 100644 (file)
@@ -225,8 +225,6 @@ ospf6_lsack_print (struct ospf6_header *oh)
 }
 
 /* Receive function */
-#define MSG_OK    0
-#define MSG_NG    1
 static int
 ospf6_header_examin (struct in6_addr *src, struct in6_addr *dst,
                      struct ospf6_interface *oi, struct ospf6_header *oh)
index b6f1b7378dac56dbeb36aac600a5177673ce52ab..2ac6300e51ca0cb6aa3b6eda56267d6cd36870d6 100644 (file)
@@ -49,6 +49,9 @@ extern struct thread_master *master;
 #endif /* IPV6_DROP_MEMBERSHIP */
 #endif /* ! IPV6_LEAVE_GROUP */
 
+#define MSG_OK    0
+#define MSG_NG    1
+
 /* cast macro: XXX - these *must* die, ick ick. */
 #define OSPF6_PROCESS(x) ((struct ospf6 *) (x))
 #define OSPF6_AREA(x) ((struct ospf6_area *) (x))