]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netat/ddp_proto.c
xnu-792.10.96.tar.gz
[apple/xnu.git] / bsd / netat / ddp_proto.c
index e9073ff4120ba07d559678d934983090fcf9642c..347ba3e772950891612c44e6ac6930110d22decb 100644 (file)
@@ -42,7 +42,6 @@
 #include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/socketvar.h>
-#include <sys/buf.h>
 
 #include <net/if.h>
 
@@ -108,7 +107,7 @@ void ddp_putmsg(gref, mp)
                                if (gbuf_cont(mp))
                                        gbuf_freem(gbuf_cont(mp));
                                if ((gbuf_cont(mp) = 
-                                    gbuf_alloc(sizeof(at_inet_t),
+                                    gbuf_alloc(sizeof(ddp_addr_t),
                                                PRI_MED)) == NULL) {
                                        ioc_ack(ENOBUFS, mp, gref);
                                        break;