Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/net/lib/libnet Attach PF_LINK domain. ifconfig wan...
details: https://anonhg.NetBSD.org/src/rev/425d38569cfa
branches: trunk
changeset: 758108:425d38569cfa
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Oct 19 15:40:15 2010 +0000
description:
Attach PF_LINK domain. ifconfig wants to play with it, plus there's
no reason not to anyway.
diffstat:
sys/rump/net/lib/libnet/component.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 5248354def3d -r 425d38569cfa sys/rump/net/lib/libnet/component.c
--- a/sys/rump/net/lib/libnet/component.c Tue Oct 19 12:53:23 2010 +0000
+++ b/sys/rump/net/lib/libnet/component.c Tue Oct 19 15:40:15 2010 +0000
@@ -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);
}
Home |
Main Index |
Thread Index |
Old Index