Module Name:    src
Committed By:   pooka
Date:           Tue Oct 19 15:40:15 UTC 2010

Modified Files:
        src/sys/rump/net/lib/libnet: component.c

Log Message:
Attach PF_LINK domain.  ifconfig wants to play with it, plus there's
no reason not to anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/rump/net/lib/libnet/component.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/net/lib/libnet/component.c
diff -u src/sys/rump/net/lib/libnet/component.c:1.4 src/sys/rump/net/lib/libnet/component.c:1.5
--- src/sys/rump/net/lib/libnet/component.c:1.4	Tue Aug 10 21:48:23 2010
+++ src/sys/rump/net/lib/libnet/component.c	Tue Oct 19 15:40:15 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: component.c,v 1.4 2010/08/10 21:48:23 pooka Exp $	*/
+/*	$NetBSD: component.c,v 1.5 2010/10/19 15:40:15 pooka Exp $	*/
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.4 2010/08/10 21:48:23 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.5 2010/10/19 15:40:15 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/domain.h>
@@ -42,10 +42,11 @@
 
 RUMP_COMPONENT(RUMP_COMPONENT_NET_ROUTE)
 {
-	extern struct domain routedomain;
+	extern struct domain routedomain, linkdomain;
 
 	ifinit1();
 	ifinit();
 	loopattach(1);
+	DOMAINADD(linkdomain);
 	DOMAINADD(routedomain);
 }

Reply via email to