mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
unbreak building kernel without option INET6
Reported by: markp
This commit is contained in:
parent
df1cda58e4
commit
4d303ab842
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79326
@ -292,6 +292,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
|
||||
@ -321,4 +322,5 @@ faithprefix(in6)
|
||||
RTFREE(rt);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
#endif /* NFAITH > 0 */
|
||||
|
@ -34,8 +34,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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user