diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2008-11-27 20:54:31 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2008-11-27 20:54:31 +0000 |
commit | 86cd9787064088334776af097c8b2fd2e5ec3f22 (patch) | |
tree | 7d57c9e24a6d3e72bfe293e3d3edab07b1bfc540 /net/openospfd/files/patch-ospfd_ospfd.h | |
parent | Update to the 20081126 snapshot of GCC 4.2.5. Mostly assorted bugfixes (diff) |
Update to 4.2
PR: 120788
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Tested by: Doichin Dokov <root@net1.cc>
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=223467
Diffstat (limited to 'net/openospfd/files/patch-ospfd_ospfd.h')
-rw-r--r-- | net/openospfd/files/patch-ospfd_ospfd.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/openospfd/files/patch-ospfd_ospfd.h b/net/openospfd/files/patch-ospfd_ospfd.h new file mode 100644 index 000000000000..bcd1f6d85eff --- /dev/null +++ b/net/openospfd/files/patch-ospfd_ospfd.h @@ -0,0 +1,13 @@ +--- ospfd/ospfd.h.orig 2008-02-07 18:57:03.000000000 +0300 ++++ ospfd/ospfd.h 2008-02-07 18:56:54.000000000 +0300 +@@ -320,6 +320,10 @@ + TAILQ_HEAD(lsa_head, lsa_entry); + TAILQ_HEAD(auth_md_head, auth_md); + ++#if defined(__FreeBSD__) /* FreeBSD has no LINK_STATE_IS_UP macro. */ ++#define LINK_STATE_IS_UP(_s) ((_s) >= LINK_STATE_UP) ++#endif /* defined(__FreeBSD__) */ ++ + struct iface { + LIST_ENTRY(iface) entry; + struct event hello_timer; |