From: Alessandro Dellavedova Date: Mon, 31 Jul 2006 17:16:18 +0000 (+0000) Subject: STABLE14-fbsd-ifnet-flags-20060731 X-Git-Tag: openafs-stable-1_4_2b3~24 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=14d2c07f5dbc4b3b0478177362502e20d70c328f;p=packages%2Fo%2Fopenafs.git STABLE14-fbsd-ifnet-flags-20060731 FIXES 35757 i should really fix this right (cherry picked from commit c04c2a0b1aa266c67d2e7e056e6c3f9518a39a2a) --- diff --git a/src/afs/FBSD/osi_machdep.h b/src/afs/FBSD/osi_machdep.h index 6be21a41c..d098c9603 100644 --- a/src/afs/FBSD/osi_machdep.h +++ b/src/afs/FBSD/osi_machdep.h @@ -121,4 +121,6 @@ extern struct proc *afs_global_owner; #define USERPRI splx(splvar) #endif /* KERNEL */ +#define ifnet_flags(x) (x?(x)->if_flags:0) + #endif /* _OSI_MACHDEP_H_ */