Skip to content

Commit

Permalink
make compilable without -DINET6. from ume.
Browse files Browse the repository at this point in the history
  • Loading branch information
sumikawa committed Jul 7, 2001
1 parent 7c15385 commit 1e10e3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion kame/sys/net/if_faith.c
@@ -1,4 +1,4 @@
/* $KAME: if_faith.c,v 1.21 2001/02/20 07:59:26 itojun Exp $ */
/* $KAME: if_faith.c,v 1.22 2001/07/07 06:07:30 sumikawa Exp $ */

/*
* Copyright (c) 1982, 1986, 1993
Expand Down Expand Up @@ -344,6 +344,7 @@ faithioctl(ifp, cmd, data)
return (error);
}

#ifdef INET6
/*
* XXX could be slow
* XXX could be layer violation to call sys/net from sys/netinet6
Expand Down Expand Up @@ -377,4 +378,5 @@ faithprefix(in6)
RTFREE(rt);
return ret;
}
#endif
#endif /* NFAITH > 0 */
4 changes: 3 additions & 1 deletion kame/sys/net/if_faith.h
@@ -1,4 +1,4 @@
/* $KAME: if_faith.h,v 1.1 2000/07/26 05:49:21 itojun Exp $ */
/* $KAME: if_faith.h,v 1.2 2001/07/07 06:07:30 sumikawa Exp $ */

/*
* Copyright (C) 2000 WIDE Project.
Expand Down Expand Up @@ -33,8 +33,10 @@
#define _NET_IF_FAITH_H_

#ifdef _KERNEL
#ifdef INET6
struct in6_addr;
int faithprefix __P((struct in6_addr *));
#endif
#endif

#endif /* _NET_IF_FAITH_H_ */

0 comments on commit 1e10e3a

Please sign in to comment.