diff options
author | archie <archie@FreeBSD.org> | 2000-05-24 21:16:56 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-05-24 21:16:56 +0000 |
commit | 4ba625d0ce34b70f741bf77f6ca791a411865fc2 (patch) | |
tree | bec62c6969696c63921532d9b3a3497c93705c93 /sys/netatalk | |
parent | 600aec722a18eebcec87ca2b60dab5ae68e6f60e (diff) | |
download | FreeBSD-src-4ba625d0ce34b70f741bf77f6ca791a411865fc2.zip FreeBSD-src-4ba625d0ce34b70f741bf77f6ca791a411865fc2.tar.gz |
Just need to pass the address family to if_simloop(), not the whole sockaddr.
Diffstat (limited to 'sys/netatalk')
-rw-r--r-- | sys/netatalk/ddp_output.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netatalk/ddp_output.c b/sys/netatalk/ddp_output.c index 2344e70..66e20df 100644 --- a/sys/netatalk/ddp_output.c +++ b/sys/netatalk/ddp_output.c @@ -21,6 +21,8 @@ * netatalk@itd.umich.edu */ +/* $FreeBSD$ */ + #include <sys/param.h> #include <sys/systm.h> #include <sys/mbuf.h> @@ -220,7 +222,7 @@ ddp_route( struct mbuf *m, struct route *ro) if ((satosat(&aa->aa_addr)->sat_addr.s_net == satosat(&ro->ro_dst)->sat_addr.s_net) && (satosat(&aa->aa_addr)->sat_addr.s_node == satosat(&ro->ro_dst)->sat_addr.s_node)) { - return (if_simloop(ifp, m, (struct sockaddr *)&gate, 0)); + return (if_simloop(ifp, m, gate.sat_family, 0)); } return((*ifp->if_output)( ifp, |