diff options
Diffstat (limited to 'src/VBox/HostDrivers/VBoxNetAdp/darwin')
-rw-r--r-- | src/VBox/HostDrivers/VBoxNetAdp/darwin/Info.plist | 2 | ||||
-rw-r--r-- | src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp | 6 | ||||
-rwxr-xr-x | src/VBox/HostDrivers/VBoxNetAdp/darwin/loadnetadp.sh | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/src/VBox/HostDrivers/VBoxNetAdp/darwin/Info.plist b/src/VBox/HostDrivers/VBoxNetAdp/darwin/Info.plist index b254fa2c..c0b20e7b 100644 --- a/src/VBox/HostDrivers/VBoxNetAdp/darwin/Info.plist +++ b/src/VBox/HostDrivers/VBoxNetAdp/darwin/Info.plist @@ -1,4 +1,4 @@ - +<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> diff --git a/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp b/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp index 0412d530..e1a903b7 100644 --- a/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp +++ b/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp @@ -4,7 +4,7 @@ */ /* - * Copyright (C) 2008 Oracle Corporation + * Copyright (C) 2008-2012 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -39,6 +39,8 @@ #include <iprt/uuid.h> #include <iprt/alloca.h> +#include "../../darwin/VBoxNetSend.h" + #include <sys/systm.h> RT_C_DECLS_BEGIN /* Buggy 10.4 headers, fixed in 10.5. */ #include <sys/kpi_mbuf.h> @@ -232,6 +234,7 @@ static errno_t vboxNetAdpDarwinBpfSend(ifnet_t pIface, u_int32_t uLinkType, mbuf return 0; } + int vboxNetAdpOsCreate(PVBOXNETADP pThis, PCRTMAC pMACAddress) { int rc; @@ -294,6 +297,7 @@ int vboxNetAdpOsCreate(PVBOXNETADP pThis, PCRTMAC pMACAddress) if (!err) { ifnet_set_mtu(pThis->u.s.pIface, VBOXNETADP_MTU); + VBoxNetSendDummy(pThis->u.s.pIface); return VINF_SUCCESS; } else diff --git a/src/VBox/HostDrivers/VBoxNetAdp/darwin/loadnetadp.sh b/src/VBox/HostDrivers/VBoxNetAdp/darwin/loadnetadp.sh index 360d053c..4f556f3e 100755 --- a/src/VBox/HostDrivers/VBoxNetAdp/darwin/loadnetadp.sh +++ b/src/VBox/HostDrivers/VBoxNetAdp/darwin/loadnetadp.sh @@ -4,7 +4,7 @@ # # -# Copyright (C) 2006-2010 Oracle Corporation +# Copyright (C) 2006-2012 Oracle Corporation # # This file is part of VirtualBox Open Source Edition (OSE), as # available from http://www.virtualbox.org. This file is free software; |