patch-1.3.61 linux/net/core/dev.c

Next file: linux/net/ipv4/igmp.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.60/linux/net/core/dev.c linux/net/core/dev.c
@@ -1343,7 +1343,7 @@
 	 *	SLHC if present needs attaching so other people see it
 	 *	even if not opened.
 	 */
-#if defined(CONFIG_SLIP_COMPRESSED) || defined(CONFIG_PPP)
+#if (defined(CONFIG_SLIP_COMPRESSED) || defined(CONFIG_PPP)) && defined(CONFIG_SLHC_BUILTIN)
 	slhc_install();
 #endif	
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this