]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
Fixed bug #31385: sizeof(struct sockaddr) is 30 but should be 16
authorgoldsimon <goldsimon>
Wed, 20 Oct 2010 17:58:52 +0000 (17:58 +0000)
committergoldsimon <goldsimon>
Wed, 20 Oct 2010 17:58:52 +0000 (17:58 +0000)
CHANGELOG
src/include/lwip/sockets.h

index 3576b19c0dc586790e93d73e1d6688183a9e2c11..7be2d2ae72c613ce8a403f7a864615ffe8ac96f5 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -229,6 +229,9 @@ HISTORY
 
   ++ Bugfixes:
 
+  2010-10-20: Simon Goldschmidt
+  * sockets.h: Fixed bug #31385: sizeof(struct sockaddr) is 30 but should be 16
+
   2010-10-05: Simon Goldschmidt
   * dhcp.c: Once again fixed #30038: DHCP/AutoIP cooperation failed when
     replugging the network cable after an AutoIP address was assigned.
index ccc012dbd981895f0691d17ccf034785cdcc4ab8..93c8c11f3be7b5f62bd4a4fded17c655a42dd1d4 100644 (file)
@@ -59,7 +59,7 @@ struct sockaddr_in {
 struct sockaddr {
   u8_t sa_len;
   u8_t sa_family;
-  u16_t sa_data[14];
+  char sa_data[14];
 };
 
 #ifndef socklen_t