[klibc] [PATCH] Get ipconfig compiling

Bryan O'Sullivan bos at serpentine.com
Mon Apr 28 16:27:40 PDT 2003


Sort of a brown paper headgear issue.

	<b

diff -Nru a/ipconfig/netdev.c b/ipconfig/netdev.c
--- a/ipconfig/netdev.c	Mon Apr 28 15:26:12 2003
+++ b/ipconfig/netdev.c	Mon Apr 28 15:26:12 2003
@@ -205,7 +205,7 @@
 	if (netdev_gif_addr(&ifr, SIOCGIFADDR, &dev->ip_addr) == -1) {
 		perror("SIOCGIFADDR");
 		dev->ip_addr = 0;
-		dev->ip_broadcase = 0;
+		dev->ip_broadcast = 0;
 		dev->ip_netmask = 0;
 		return 0;
 	}





More information about the klibc mailing list