projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modernize the build system.
[tinc]
/
src
/
solaris
/
device.c
diff --git
a/src/solaris/device.c
b/src/solaris/device.c
index
969b514
..
77a4361
100644
(file)
--- a/
src/solaris/device.c
+++ b/
src/solaris/device.c
@@
-18,19
+18,18
@@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-
-#include "system.h"
+#include "../system.h"
#include <sys/stropts.h>
#include <sys/sockio.h>
#include <net/if_tun.h>
#include <sys/stropts.h>
#include <sys/sockio.h>
#include <net/if_tun.h>
-#include "conf.h"
-#include "device.h"
-#include "logger.h"
-#include "net.h"
-#include "utils.h"
-#include "xalloc.h"
+#include "
../
conf.h"
+#include "
../
device.h"
+#include "
../
logger.h"
+#include "
../
net.h"
+#include "
../
utils.h"
+#include "
../
xalloc.h"
#define DEFAULT_DEVICE "/dev/tun"
#define DEFAULT_DEVICE "/dev/tun"
@@
-151,6
+150,7
@@
static bool read_packet(vpn_packet_t *packet) {
return false;
}
return false;
}
+ memset(packet->data, 0, 12);
packet->len = lenin + 14;
device_total_in += packet->len;
packet->len = lenin + 14;
device_total_in += packet->len;