summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2011-08-20 20:58:15 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-08-20 20:58:51 +0400
commita44ed99c57f340a75e94e13edfb047e3f5a49539 (patch)
tree5664f11db9c52a8077ab73851c6becba1abaa14d
parent87d29037b3f390cfb9d4e9e2aef4f0b49f98d557 (diff)
ospf6d: move named constants to ospf6d.h
-rw-r--r--ospf6d/ospf6_message.c2
-rw-r--r--ospf6d/ospf6d.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c
index 4db19da7..beec272b 100644
--- a/ospf6d/ospf6_message.c
+++ b/ospf6d/ospf6_message.c
@@ -227,8 +227,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)
diff --git a/ospf6d/ospf6d.h b/ospf6d/ospf6d.h
index b6f1b737..2ac6300e 100644
--- a/ospf6d/ospf6d.h
+++ b/ospf6d/ospf6d.h
@@ -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))