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>
#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)