summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/ipx_proto.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/netipx/ipx_proto.c b/sys/netipx/ipx_proto.c
index a762ea7..56d091a 100644
--- a/sys/netipx/ipx_proto.c
+++ b/sys/netipx/ipx_proto.c
@@ -131,16 +131,26 @@ static struct protosw ipxsw[] = {
},
};
+extern int ipx_inithead(void **, int);
+
static struct domain ipxdomain = {
.dom_family = AF_IPX,
.dom_name = "network systems",
.dom_protosw = ipxsw,
.dom_protoswNPROTOSW = &ipxsw[sizeof(ipxsw)/sizeof(ipxsw[0])],
- .dom_rtattach = rn_inithead,
+ .dom_rtattach = ipx_inithead,
.dom_rtoffset = 16,
.dom_maxrtkey = sizeof(struct sockaddr_ipx)
};
+
+/* shim to adapt arguments */
+int
+ipx_inithead(void **head, int offset)
+{
+ return rn_inithead(head, offset);
+}
+
DOMAIN_SET(ipx);
SYSCTL_NODE(_net, PF_IPX, ipx, CTLFLAG_RW, 0,
"IPX/SPX");
OpenPOWER on IntegriCloud