};
static enum_val_t erf_ethfcs_options[] = {
- { "ethfcs", "Present", ERF_ETHFCS_YES },
- { "ethnofcs", "Not present", ERF_ETHFCS_NO },
- { "eth", "Possibly present", ERF_ETHFCS_MAYBE },
+ { "fcs", "Present", ERF_ETHFCS_YES },
+ { "nofcs", "Not present", ERF_ETHFCS_NO },
+ { "maybefcs", "Possibly present", ERF_ETHFCS_MAYBE },
{ NULL, NULL, 0 }
};
the new preference. */
if (strcmp(dotp, "erfeth") == 0) {
pref = find_preference(module, "ethfcs");
- if (strcmp(value, "eth") == 0)
- value = "ethnofcs";
+ if (strcmp(value, "ethfcs") == 0)
+ value = "fcs";
+ else if (strcmp(value, "eth") == 0)
+ value = "nofcs";
else if (strcmp(value, "raw") == 0)
- value = "eth";
+ value = "maybefcs";
}
}
}