Dirk Ziegelmeier
48c2056d5b
Implement unit test for bug #54670 : 127.0.0.1 sent out to netif_default?
2018-11-01 21:35:46 +01:00
Dirk Ziegelmeier
0c34597b9e
netif: Add getter for loopif for unit tests
2018-11-01 21:35:06 +01:00
Dirk Ziegelmeier
26a84d9307
Minor: add parenthesis for cleaner code
2018-10-28 21:08:24 +01:00
Dirk Ziegelmeier
5698e57da3
VS code workspace: add unit tests
2018-10-27 22:35:54 +02:00
Florent Matignon
ffbe075d56
bug #54700 : Unexpected expiry of pending ARP table entry
...
New etharp queries should restart the 5 second timeout on the ARP
table entry if it is still pending.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-26 20:59:10 +02:00
Simon Goldschmidt
fa37888da2
altcp_tls_mbedtls: update list of todos
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-26 20:43:06 +02:00
David GIRAULT
6e994f9df2
bug #54744 : if altcp_close() called from recv() callback, there is some write to freed memory
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-26 19:56:54 +02:00
Simon Goldschmidt
a352f4e11c
Explicitly check for TCP_MSS to be <= ~16 kByte
...
See bug #54890
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-26 19:43:13 +02:00
Simon Goldschmidt
a41c1fcc62
patch #9350 : Sockets API: use OS's sys/socket.h instead of lwip/sock
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-26 19:33:47 +02:00
Dirk Ziegelmeier
6b92dd6907
CMakeCommon.cmake: Add missing newline
2018-10-24 15:08:02 +02:00
Dirk Ziegelmeier
ec28364a2f
SNMP_ERR_NOTWRITABLE is a more appropriate return value for the last two commits
...
The instance of the SNMP node was found, that's why the functions have been called. So if set_test() and/or set_value() do not exist, it means the SNMP node instance is not writable.
2018-10-24 09:59:06 +02:00
Dirk Ziegelmeier
ee2f5c52d1
Fix the same issue as in snmp_scalar.c in snmp_threadsync.c
2018-10-24 08:54:08 +02:00
Dirk Ziegelmeier
36e2d2255e
Fix wrong return value in snmp_scalar_array_get_value()
2018-10-24 08:34:32 +02:00
Simon Goldschmidt
6a1fbc7433
snmp: fix coding style in last commit
2018-10-23 20:01:06 +02:00
Dirk Ziegelmeier
2e7b4573a5
SNMP: Avoid NULL pointer dereference in snmp_scalar.c
2018-10-23 14:26:29 +02:00
Simon Goldschmidt
ff8d1a384f
httpd: SSI types should be overridable (task #15071 )
...
Add define LWIP_HTTPD_SSI_EXTENSIONS to make the extension list
overridable, clarify documentation of LWIP_HTTPD_SSI_BY_FILE_EXTENSION
a bit.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-23 08:17:45 +02:00
Simon Goldschmidt
f6b728b24c
makefsdata: obey LWIP_HTTPD_SSI_BY_FILE_EXTENSION
...
Don't check SSI extension list if LWIP_HTTPD_SSI_BY_FILE_EXTENSION == 0
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-23 08:16:49 +02:00
Simon Goldschmidt
688b0935e2
Try to catch missing std includes on travis
...
By defining LWIP_PLATFORM_ASSERT to a function, we can prevent arch.h
from including stdio.h and stdlib.h
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-23 08:00:37 +02:00
Simon Goldschmidt
a6cf42a937
fix compiling win32 port (packet.lib not found)
...
Library search path changed after moving contrib
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-23 07:59:00 +02:00
Simon Goldschmidt
ef02b1dc20
fix missing standard includes
...
These were a problem only if arch.h does not include them.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-23 07:46:13 +02:00
Dirk Ziegelmeier
06cc825431
Whitespace cleanup lwIP
2018-10-22 20:53:58 +02:00
Dirk Ziegelmeier
64e0ede1a1
Whitespace cleanup in contrib dir
2018-10-22 20:53:58 +02:00
Simon Goldschmidt
e0e4240875
Revert "Allow the use of external Sockets headers"
...
This reverts commit 413b26a7e1
.
It breaks the build if LWIP_SOCKET is disabled.
Plus it breaks git history for inet.h and sockets.h for no real reason.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-22 20:37:56 +02:00
Dirk Ziegelmeier
3aef9c5305
VSCode cleanups
2018-10-22 19:48:01 +02:00
Dirk Ziegelmeier
f53932d7ca
Travis: Remove "-j 4" command line option - does not make sense for ninja-build
2018-10-22 17:18:34 +02:00
Dirk Ziegelmeier
3f690e0bf0
Improve build system documentation
2018-10-21 20:30:48 +02:00
Dirk Ziegelmeier
95aba99f41
Implement task #11620 : Add outgoing VLAN PCP support for Ethernet level QoS
...
Apply rebased patch from Timmy Brolin
2018-10-19 22:30:17 +02:00
Dirk Ziegelmeier
64bc2c3df7
Fix bug #54805 : IP address can not be obtained over dhcp if PBUF_POOL_BUFSIZE is too small
...
Patch by Christoph Chang
2018-10-19 21:06:15 +02:00
Joan Lledó
413b26a7e1
Allow the use of external Sockets headers
...
New macro LWIP_SOCKET_HEADERS can be used to replace
LwIP sockets headers by OS's headers.
By default LWIP_SOCKET_HEADERS==LWIP_SOCKET, when LWIP_SOCKET==1
and LWIP_SOCKET_HEADERS==0, user must provide their custom headers
by setting LWIP_INCLUDE_SOCKETS and LWIP_INCLUDE_INET.
2018-10-19 20:30:24 +02:00
Dirk Ziegelmeier
5405c3d97d
Cleanup iteropts.sh output a bit
2018-10-18 22:36:59 +02:00
Dirk Ziegelmeier
c05b07c314
Fix iteropts test
2018-10-18 21:59:36 +02:00
Dirk Ziegelmeier
8f8c0d26ef
Try to find out what goes wrong on travis...
2018-10-18 21:22:47 +02:00
Dirk Ziegelmeier
ca8f0254cf
Try to get iteropts test running on Travis
2018-10-18 21:15:48 +02:00
Dirk Ziegelmeier
cf4cefd73c
Try to get ninja-build running on Travis
2018-10-18 11:05:07 +02:00
Dirk Ziegelmeier
23945d2e3f
Try to build documentation on travis, too
2018-10-18 10:58:29 +02:00
Dirk Ziegelmeier
daeceeeca0
Next try to get CMake up and running on Travis
2018-10-18 10:47:51 +02:00
Dirk Ziegelmeier
5840b090d4
Travis: Use CMake from /usr/local/bin
2018-10-18 10:33:35 +02:00
Dirk Ziegelmeier
95eada2119
Revert a change that was made for old cmake version
...
Lets see if it works now on travis...
2018-10-18 10:17:19 +02:00
Dirk Ziegelmeier
2e51e0dc81
Travis: Use newer CMake, install Ninja
2018-10-18 10:05:57 +02:00
Simon Goldschmidt
9171960c11
update ignore list
2018-10-18 09:04:38 +02:00
Simon Goldschmidt
0be3e35bf2
tftp: mode_to_string() should be static
2018-10-17 21:53:04 +02:00
Simon Goldschmidt
f098c4515e
tftp: added example for tftp client
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-17 21:39:37 +02:00
Simon Goldschmidt
0ee4784d0c
tftp client: pass 'mode' as an enum, not as a string constant
2018-10-17 21:37:46 +02:00
Simon Goldschmidt
4edbec760a
README: put wiki after mailing lists (it's not that good...)
2018-10-17 20:27:00 +02:00
Dirk Ziegelmeier
ee269ceec5
Fix bug #54850 : lwip definition of htonX and ntohX do not properly cast to unsigned when byte order is Big Endian
...
Changes suggested by Ivan Warren
2018-10-17 20:23:28 +02:00
Dirk Ziegelmeier
c2892ed0fb
Travis: Try to use Clang-7
2018-10-15 08:58:43 +02:00
Dirk Ziegelmeier
f99f304c20
Add special compile config for Travis
2018-10-14 09:44:12 +02:00
Dirk Ziegelmeier
8dd931ab27
Fix cyclic linking dependency when using MBEDTLS
2018-10-14 09:43:22 +02:00
Simon Goldschmidt
fa76861481
tftp: fix cast warnings; return all error codes
...
Also keep tftp_mode in tft_state
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-13 20:26:06 +02:00
Simon Goldschmidt
f272a75b6a
implement 'keypressed()' in the unix port
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2018-10-13 16:31:01 +02:00