Displaying 1 result from an estimated 1 matches for "flag_bit".
Did you mean:
flag_bits
2010 Sep 20
0
No subject
...extern int usleep(long);
+//extern int usleep(long);
#endif
=20
#endif /* __DROPIN_H__ */
diff --git a/src/net.c b/src/net.c
index 08e3cad..9d170d0 100644
--- a/src/net.c
+++ b/src/net.c
@@ -280,6 +280,9 @@
int result, i;
socklen_t len =3D sizeof(result);
vpn_packet_t packet;
+ packet.flag_bits =3D 0;
+ packet.flags.compress =3D 1;
+
static int errors =3D 0;
=20
/* check input from kernel */
diff --git a/src/net.h b/src/net.h
index ab6bd41..7e05d09 100644
--- a/src/net.h
+++ b/src/net.h
@@ -79,11 +79,16 @@
typedef struct vpn_packet_t {
length_t len; /* the actual number of byte...