lwIP - A Lightweight TCP/IP stack - Bugs: bug #43103, conditional compilation about ipv6...
You are not allowed to post comments on this tracker with your current authentication level.
bug #43103: conditional compilation about ipv6 header file
Submitter: | yuanbin <ffddybz> | ||
Submitted: | Fri 29 Aug 2014 02:55:49 AM UTC | ||
Category: | IPv6 | Severity: | 3 - Normal |
Item Group: | Change Request | Status: | Invalid |
Privacy: | Public | Assigned to: | idelamer |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | git head |
Fri 29 Aug 2014 04:12:27 PM UTC, comment #1: |
Ivan Delamer <idelamer> |
Fri 29 Aug 2014 02:55:49 AM UTC, original submission:
I use git head because of the support of ipv6 , but in many occasions, I only want to use ipv4. So I hope that it does not compile any source file and header file about ipv6. But in many files it did not use conditional compilation to handle ipv6 header. So, I submit the patch.
|
yuanbin <ffddybz> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-08-29 | idelamer | Status | None | Invalid | |
Assigned to | None | idelamer | |||
Open/Closed | Open | Closed | |||
2014-08-29 | ffddybz | Attached File | - | Added ipv6.patch, #31996 |
Powered by Savane 3.13-02a9.
Corresponding source code
The headers have conditional compilation included, so if you disable IPv6 there will be no additional code compiled in.
It is standard LwIP practice to put conditional markers inside the header files, vs. wrapping the include directive.
You can use your patch in your code if you don't want to keep the .h files in your project environment.
I suggest you can post this in the patch section if you think it may be useful for others, but it is not a bug.
Cheers
Ivan