diff options
author | ru <ru@FreeBSD.org> | 2003-12-17 12:40:34 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-12-17 12:40:34 +0000 |
commit | 1df45259591c8233ac65b0031774b50f3b791df4 (patch) | |
tree | cb79deb87f430caf11f013eff4540c587f790642 /sys/netgraph/ng_bridge.c | |
parent | 6c49c65d276d185a38c2dffb97067fbb1faf4b60 (diff) | |
download | FreeBSD-src-1df45259591c8233ac65b0031774b50f3b791df4.zip FreeBSD-src-1df45259591c8233ac65b0031774b50f3b791df4.tar.gz |
Made the Ethernet address parse type standard.
OK'ed by: archie
Diffstat (limited to 'sys/netgraph/ng_bridge.c')
-rw-r--r-- | sys/netgraph/ng_bridge.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netgraph/ng_bridge.c b/sys/netgraph/ng_bridge.c index 445f3e6..b352890 100644 --- a/sys/netgraph/ng_bridge.c +++ b/sys/netgraph/ng_bridge.c @@ -77,7 +77,6 @@ #include <netgraph/netgraph.h> #include <netgraph/ng_parse.h> #include <netgraph/ng_bridge.h> -#include <netgraph/ng_ether.h> #ifdef NG_SEPARATE_MALLOC MALLOC_DEFINE(M_NETGRAPH_BRIDGE, "netgraph_bridge", "netgraph bridge node "); @@ -172,7 +171,7 @@ ng_bridge_getTableLength(const struct ng_parse_type *type, /* Parse type for struct ng_bridge_host_ary */ static const struct ng_parse_struct_field ng_bridge_host_type_fields[] - = NG_BRIDGE_HOST_TYPE_INFO(&ng_ether_enaddr_type); + = NG_BRIDGE_HOST_TYPE_INFO(&ng_parse_enaddr_type); static const struct ng_parse_type ng_bridge_host_type = { &ng_parse_struct_type, &ng_bridge_host_type_fields @@ -287,9 +286,6 @@ static struct ng_type ng_bridge_typestruct = { }; NETGRAPH_INIT(bridge, &ng_bridge_typestruct); -/* Depend on ng_ether so we can use the Ethernet parse type */ -MODULE_DEPEND(ng_bridge, ng_ether, 1, 1, 1); - /****************************************************************** NETGRAPH NODE METHODS ******************************************************************/ |