removed kernel support and #if 0s
This commit is contained in:
-7
@@ -51,18 +51,13 @@
|
||||
/* { from defs.h */
|
||||
#define prefix_touchar(prefix) ((u_char *)&(prefix)->add.sin)
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#define MAXLINE 512
|
||||
#else
|
||||
#define MAXLINE 1024
|
||||
#endif
|
||||
|
||||
#define BIT_TEST(f, b) ((f) & (b))
|
||||
/* } */
|
||||
|
||||
#define addroute make_and_lookup
|
||||
|
||||
#ifndef __KERNEL__
|
||||
#include <sys/types.h> /* for u_* definitions (on FreeBSD 5) */
|
||||
#include <errno.h> /* for EAFNOSUPPORT */
|
||||
|
||||
@@ -81,8 +76,6 @@
|
||||
#include <ws2tcpip.h> /* IPv6 */
|
||||
#endif
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
/* { from mrt.h */
|
||||
|
||||
typedef struct the_prefix4_t {
|
||||
|
||||
Reference in New Issue
Block a user