patchlwIP - A Lightweight TCP/IP stack - Patches: patch #7776, PPPoE printf-like functions...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7776: PPPoE printf-like functions eviction

Submitter:  Sylvain Rochet <gradator>
Submitted:  Mon 07 May 2012 09:07:22 AM UTC
   
 
Category:  PPP Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Thu 22 May 2014 07:44:06 PM UTC, comment #2: 

ppp-new branch merged in master

Sylvain Rochet <gradator>
Group Member
Mon 04 Jun 2012 08:12:10 PM UTC, comment #1: 

Applied in ppp-new branch.

Sylvain Rochet <gradator>
Group Member
Mon 07 May 2012 09:07:22 AM UTC, original submission:  

Here is a patch that removes all calls to printf()-like functions from PPPoE.

printf() used for debugging are replaced by PPPDEBUG()

snprintf() used only on interface name for 3 bytes replaced by "byte by byte" assignment.

It saves 50k of flash code on my target ! :-)  Furthermore that printf() crash my target if JTAG console trace is not running...

Sylvain Rochet <gradator>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Updated the item)
  • -email is unavailable- added by gradator (Submitted the item)
  •  

    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-05-22 gradator StatusNone Done
        Open/ClosedOpen Closed
    2013-01-15 goldsimon CategoryNone PPP
    2012-05-07 gradator Attached File- Added lwip-pppoe-printf-eviction.patch, #25809

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code