| Summary: | Reversed #if tests in networking/interface.c | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | bugdal |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | Proposed fix. | ||
Applied to git. Thanks! |
Created attachment 3217 [details] Proposed fix. The current code for getting ethernet.h falls back to using linux/if_ether.h (which is definitely not generic/portable) unless one of a fixed set of systems/libcs known to have net/ethernet.h is detected. A better approach would be to special-case the only known system(s) that lacks net/ethernet.h but has linux/if_ether.h, which is presumably just (some versions of?) uClibc. This issue affects the ability to build BB against musl.