[patch] 2.3.99-pre4-3: af_decnet decnet_setup fix

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Apr 03 2000 - 10:57:08 EST


Here's a short patch to make decnet_setup return 1 instead of 0 all the
time.

Tim.
*/

Index: net/decnet/af_decnet.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/net/decnet/af_decnet.c,v
retrieving revision 1.1.1.9
diff -d -u -r1.1.1.9 af_decnet.c
--- net/decnet/af_decnet.c 2000/03/29 08:54:41 1.1.1.9
+++ net/decnet/af_decnet.c 2000/04/03 15:54:14
@@ -2091,7 +2091,7 @@
         decnet_address = dn_htons(area << 10 | node);
         dn_dn2eth(decnet_ether_address, dn_ntohs(decnet_address));
 
- return 0;
+ return 1;
 }
 
 __setup("decnet=", decnet_setup);

-
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