[klibc] RFC patch: ipconfig and boot filename option

Oleg Verych olecom at flower.upol.cz
Tue May 27 05:20:58 PDT 2008


> @@ -758,4 +760,7 @@
>  			do_not_config = 1;
>  			break;
> +		case 's':
> +			do_not_config = 2;
> +			break;

Don't collide with '-n':

--- usr/kinit/ipconfig/main.c~	2008-05-27 00:58:07.222534500 +0200
+++ usr/kinit/ipconfig/main.c	2008-05-27 14:12:37.597746750 +0200
@@ -78,5 +78,5 @@
 static void configure_device(struct netdev *dev)
 {
-	if (do_not_config)
+	if (do_not_config == 1)
 		return;
 



More information about the klibc mailing list