/* Return an appropriate combo box entry number for the given an AirpcapValidationType, defaulting to 0  */
gint airpcap_get_validation_combo_entry(AirpcapValidationType vt)
/* Return an appropriate combo box entry number for the given an AirpcapValidationType, defaulting to 0  */
gint airpcap_get_validation_combo_entry(AirpcapValidationType vt)
{
    switch (vt) {
        case AIRPCAP_VT_ACCEPT_CORRECT_FRAMES:
            return 1;
            break;
        case AIRPCAP_VT_ACCEPT_CORRUPT_FRAMES:
            return 2;
            break;
        default:
            return 0;
            break;
    }
}