change log for rtems (2010-10-19)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Oct 19 10:10:38 UTC 2010


 *sh*:
2010-10-19	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* libnetworking/lib/ftpfs.c: Do not fall back to BOOTP server address
	in case hostname was not specified.

M 1.2637  cpukit/ChangeLog
M   1.35  cpukit/libnetworking/lib/ftpfs.c

diff -u rtems/cpukit/ChangeLog:1.2636 rtems/cpukit/ChangeLog:1.2637
--- rtems/cpukit/ChangeLog:1.2636	Tue Oct 19 02:38:53 2010
+++ rtems/cpukit/ChangeLog	Tue Oct 19 04:16:20 2010
@@ -1,5 +1,10 @@
 2010-10-19	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
+	* libnetworking/lib/ftpfs.c: Do not fall back to BOOTP server address
+	in case hostname was not specified.
+
+2010-10-19	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
 	* libnetworking/lib/ftpfs.c: Fixed a special case with no username and
 	password.
 

diff -u rtems/cpukit/libnetworking/lib/ftpfs.c:1.34 rtems/cpukit/libnetworking/lib/ftpfs.c:1.35
--- rtems/cpukit/libnetworking/lib/ftpfs.c:1.34	Tue Oct 19 02:38:53 2010
+++ rtems/cpukit/libnetworking/lib/ftpfs.c	Tue Oct 19 04:16:20 2010
@@ -604,10 +604,7 @@
   }
 
   /* Set up the server address from the hostname */
-  if (hostname == NULL || strlen(hostname) == 0) {
-    /* Default to BOOTP server address */
-    address = rtems_bsdnet_bootp_server_address;
-  } else if (inet_aton(hostname, &address) == 0) {
+  if (inet_aton(hostname, &address) == 0) {
     /* Try to get the address by name */
     struct hostent *he = gethostbyname(hostname);
 



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20101019/1f5f1c63/attachment-0001.html>


More information about the vc mailing list