eap: Make sure eap_type_t is large enough to hold vendor-specific types
Unless compiled with `-fshort-enumes` that's usually the case already.
This commit is contained in:
@@ -75,6 +75,8 @@ enum eap_type_t {
|
|||||||
EAP_RADIUS = 256,
|
EAP_RADIUS = 256,
|
||||||
/** not a method, select method dynamically based on client selection */
|
/** not a method, select method dynamically based on client selection */
|
||||||
EAP_DYNAMIC = 257,
|
EAP_DYNAMIC = 257,
|
||||||
|
/** make sure the enum is large enough to hold vendor-specific types */
|
||||||
|
EAP_UNASSIGNED = 0xffffffff,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user