lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #36857] tcp_listen_dual_with_backlog() only works with


From: James Smith
Subject: [lwip-devel] [bug #36857] tcp_listen_dual_with_backlog() only works with ANY address
Date: Tue, 17 Jul 2012 09:20:10 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.6.24-1.fc14 Firefox/3.6.24

URL:
  <http://savannah.nongnu.org/bugs/?36857>

                 Summary: tcp_listen_dual_with_backlog() only works with ANY
address
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: rallysmith
            Submitted on: Tue 17 Jul 2012 09:20:09 AM GMT
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

The logic in tcp_listen_dual_with_backlog() incorrectly drops any request not
using ANY, when it should just be setting "accept_any_ip_version" when ANY is
specified.

The attached patch is a simple fix to perform the requested listen; and then
set "accept_any_ip_version" if ANY was indeed passed.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 17 Jul 2012 09:20:09 AM GMT  Name: tcplisten.patch  Size: 554B   By:
rallysmith

<http://savannah.nongnu.org/bugs/download.php?file_id=26213>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36857>

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




reply via email to

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