[BusyBox] ifconfig: Clean up. [PATCH]

Shaun Jackman sjackman at gmail.com
Tue Jul 5 22:38:02 MDT 2005


Please apply.

Cheers,
Shaun

2005-07-05  Shaun Jackman  <sjackman at gmail.com>

	* networking/ifconfig.c (ifconfig_main): Clean up.

--- networking/ifconfig.c
+++ networking/ifconfig.c
@@ -558,6 +558,9 @@
 		continue;
 	}					/* end of while-loop */
 
+#ifdef CONFIG_FEATURE_CLEAN_UP
+	close(sockfd);
+#endif
  	return goterr;
 }


More information about the busybox mailing list