[patch] 2.3.99-pre4-3: ip_auto_config_setup return value

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Apr 03 2000 - 11:00:40 EST


Here's a patch to make ip_auto_config_setup return 1 when it succeeds.

Tim.
*/

Index: net/ipv4/ipconfig.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/net/ipv4/ipconfig.c,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 ipconfig.c
--- net/ipv4/ipconfig.c 2000/02/24 09:29:36 1.1.1.6
+++ net/ipv4/ipconfig.c 2000/04/03 15:57:46
@@ -986,7 +986,7 @@
                 num++;
         }
 
- return 0;
+ return 1;
 }
 
 static int __init nfsaddrs_config_setup(char *addrs)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:10 EST