lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #6765] Supporting new line characters in inet_aton()


From: Tai-hwa Liang
Subject: [lwip-devel] [patch #6765] Supporting new line characters in inet_aton()
Date: Wed, 04 Mar 2009 03:39:52 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19

URL:
  <http://savannah.nongnu.org/patch/?6765>

                 Summary: Supporting new line characters in inet_aton()
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: atliang
            Submitted on: Wed 04 Mar 2009 03:39:51 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Following calls return the same on *BSD, Linux and Solaris:

  inet_addr("192.168.1.1")
  inet_addr("192.168.1.1\n")
  inet_addr("192.168.1.1\r\n")

Without the attached patch, the trailing new line characters will cause
current inet_addr() in lwIP to return 0xffffffff.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 04 Mar 2009 03:39:51 AM GMT  Name: inet.c.patch  Size: 875B   By:
atliang
isprint -&gt; isascii in inet_aton()
<http://savannah.nongnu.org/patch/download.php?file_id=17577>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6765>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]