network: undef EAFNOSUPPORT before overriding it.