mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix hostapd build with RADIUS support removed
This commit is contained in:
parent
35463eaed3
commit
af12135524
@ -280,8 +280,20 @@ struct radius_class_data {
|
|||||||
size_t count;
|
size_t count;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef CONFIG_NO_RADIUS
|
||||||
void radius_free_class(struct radius_class_data *c);
|
void radius_free_class(struct radius_class_data *c);
|
||||||
int radius_copy_class(struct radius_class_data *dst,
|
int radius_copy_class(struct radius_class_data *dst,
|
||||||
const struct radius_class_data *src);
|
const struct radius_class_data *src);
|
||||||
|
#else /* CONFIG_NO_RADIUS */
|
||||||
|
static inline void radius_free_class(struct radius_class_data *c)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline int radius_copy_class(struct radius_class_data *dst,
|
||||||
|
const struct radius_class_data *src)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
#endif /* CONFIG_NO_RADIUS */
|
||||||
|
|
||||||
#endif /* RADIUS_H */
|
#endif /* RADIUS_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user