[Bug 3619] New: Reversed #if tests in networking/interface.c

bugzilla at busybox.net bugzilla at busybox.net
Wed Apr 13 17:07:25 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3619

           Summary: Reversed #if tests in networking/interface.c
           Product: Busybox
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: bugdal at aerifal.cx
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Created attachment 3217
  --> https://bugs.busybox.net/attachment.cgi?id=3217
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.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list