mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
FBSD: update ifa_ifwithnet usage
FreeBSD 8.1 (and 9.0) now require a second parameter to ifa_ifwithnet. Fix the build by using the same macro as OBSD46. Change-Id: I22eac8722bef79b6349b9d879eb42d63450b362e Reported-by: Jan Henrik Sylvester Reviewed-on: http://gerrit.openafs.org/2489 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
ea8be82b95
commit
b0a003fd8d
@ -54,7 +54,7 @@ extern int osi_utoa(char *buf, size_t len, unsigned long val);
|
||||
#endif
|
||||
#define rx_ifnet_mtu(x) (x)->if_mtu
|
||||
#define rx_ifnet_flags(x) (x?(x)->if_flags:0)
|
||||
#ifdef AFS_OBSD46_ENV
|
||||
#if defined(AFS_OBSD46_ENV) || defined(AFS_FBSD81_ENV)
|
||||
#define rx_ifaddr_withnet(x) ifa_ifwithnet(x, 0)
|
||||
#else
|
||||
#define rx_ifaddr_withnet(x) ifa_ifwithnet(x)
|
||||
|
Loading…
Reference in New Issue
Block a user