From 14d2c07f5dbc4b3b0478177362502e20d70c328f Mon Sep 17 00:00:00 2001 From: Alessandro Dellavedova Date: Mon, 31 Jul 2006 17:16:18 +0000 Subject: [PATCH] STABLE14-fbsd-ifnet-flags-20060731 FIXES 35757 i should really fix this right (cherry picked from commit c04c2a0b1aa266c67d2e7e056e6c3f9518a39a2a) --- src/afs/FBSD/osi_machdep.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/afs/FBSD/osi_machdep.h b/src/afs/FBSD/osi_machdep.h index 6be21a41c7..d098c9603f 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_ */