0.9.71-pre8 & 2.6.17.6 - doesn't build

Joseph Jezak josejx at gentoo.org
Thu Aug 3 22:48:54 MDT 2006


This should fix it, I promise I'll get a new release out by the end of August. :p

-Joe

Index: mol-0.9.71_pre8/src/drivers/net/if-tap.c
===================================================================
--- mol-0.9.71_pre8.orig/src/drivers/net/if-tap.c
+++ mol-0.9.71_pre8/src/drivers/net/if-tap.c
@@ -61,7 +61,7 @@ tap_open( enet_iface_t *is )
 	if( check_netdev(is->iface_name) )
 		return 1;
 
-	if( (fd=socket(PF_NETLINK, SOCK_RAW, NETLINK_TAPBASE+tapnum)) < 0 ) {
+	if( (fd=socket(PF_NETLINK, SOCK_RAW, NETLINK_GENERIC+tapnum)) < 0 ) {
 		perrorm("socket");
 		printm("Does the kernel lack netlink support (CONFIG_NETLINK)?\n");
 		return 1;


More information about the mol-general mailing list