[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up
From: |
Dirk Ziegelmeier |
Subject: |
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. c2a74b767ba179f9b41b206187f56c82511689fd |
Date: |
Wed, 13 Jan 2016 08:07:38 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".
The branch, master has been updated
via c2a74b767ba179f9b41b206187f56c82511689fd (commit)
from 123c8dbd6a559d78a20807c35ca2f11a91adaf85 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c2a74b767ba179f9b41b206187f56c82511689fd
Author: Axel Lin <address@hidden>
Date: Wed Jan 13 08:32:40 2016 +0800
udp_bind: Omit checking for the same port if no port specified
No port specified means to use a random port.
udp_new_port() returns a new (free) local UDP port number on success.
So in this case we don't need iterating all lists to test if the port
number is used, udp_new_port() alreay ensures the port is not used.
Move the code checking for double bind and rebind of the same pcb earlier,
as this checking is necessary in all cases.
Signed-off-by: Axel Lin <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
src/core/udp.c | 61 ++++++++++++++++++++++++++++---------------------------
1 files changed, 31 insertions(+), 30 deletions(-)
hooks/post-receive
--
lwIP - A Lightweight TCPIP stack
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. c2a74b767ba179f9b41b206187f56c82511689fd,
Dirk Ziegelmeier <=