Partially revert previous, there are still a few gotchas in
running ipv4/ipv6-only (too many dependencies on ifdefs).
This commit is contained in:
parent
f7e06f90e2
commit
f8fa4ccb90
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: component.c,v 1.7 2013/08/14 09:31:42 pooka Exp $ */
|
||||
/* $NetBSD: component.c,v 1.8 2013/08/14 09:55:05 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.7 2013/08/14 09:31:42 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.8 2013/08/14 09:55:05 pooka Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/domain.h>
|
||||
@ -46,10 +46,11 @@ int carpattach(int);
|
||||
|
||||
RUMP_COMPONENT(RUMP_COMPONENT_NET)
|
||||
{
|
||||
extern struct domain arpdomain, inetdomain;
|
||||
extern struct domain arpdomain, inetdomain, inet6domain;
|
||||
|
||||
DOMAINADD(arpdomain);
|
||||
DOMAINADD(inetdomain);
|
||||
DOMAINADD(inet6domain);
|
||||
|
||||
carpattach(1);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: component.c,v 1.1 2013/08/14 09:31:42 pooka Exp $ */
|
||||
/* $NetBSD: component.c,v 1.2 2013/08/14 09:55:05 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2013 Antti Kantee. All Rights Reserved.
|
||||
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.1 2013/08/14 09:31:42 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.2 2013/08/14 09:55:05 pooka Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/domain.h>
|
||||
@ -38,12 +38,14 @@ __KERNEL_RCSID(0, "$NetBSD: component.c,v 1.1 2013/08/14 09:31:42 pooka Exp $");
|
||||
#include "rump_private.h"
|
||||
#include "rump_net_private.h"
|
||||
|
||||
#ifdef notyet
|
||||
RUMP_COMPONENT(RUMP_COMPONENT_NET)
|
||||
{
|
||||
extern struct domain inet6domain;
|
||||
|
||||
DOMAINADD(inet6domain);
|
||||
}
|
||||
#endif
|
||||
|
||||
RUMP_COMPONENT(RUMP_COMPONENT_NET_IFCFG)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user