aboutsummaryrefslogtreecommitdiff
path: root/src/tun
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-30 12:54:55 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-30 12:54:55 +0000
commitf60b84087bb5354b27e30665263fc5f2bec80eb1 (patch)
treeb2c8e6b6afd7ad9e2afda46ae36a22dbe8879b62 /src/tun
parent300938a19ff92cc2c1488771aa40633a5e2fd316 (diff)
downloadgnunet-f60b84087bb5354b27e30665263fc5f2bec80eb1.tar.gz
gnunet-f60b84087bb5354b27e30665263fc5f2bec80eb1.zip
-keep split
Diffstat (limited to 'src/tun')
-rw-r--r--src/tun/tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tun/tun.c b/src/tun/tun.c
index 3370b98e9..9bec7d24a 100644
--- a/src/tun/tun.c
+++ b/src/tun/tun.c
@@ -84,8 +84,8 @@ GNUNET_TUN_initialize_ipv6_header (struct GNUNET_TUN_IPv6Header *ip,
84 const struct in6_addr *dst) 84 const struct in6_addr *dst)
85{ 85{
86 GNUNET_assert (payload_length <= UINT16_MAX - sizeof (struct GNUNET_TUN_IPv6Header)); 86 GNUNET_assert (payload_length <= UINT16_MAX - sizeof (struct GNUNET_TUN_IPv6Header));
87 ip->traffic_class_h = 0;
88 ip->version = 6; 87 ip->version = 6;
88 ip->traffic_class_h = 0;
89 ip->traffic_class_l = 0; 89 ip->traffic_class_l = 0;
90 ip->flow_label = 0; 90 ip->flow_label = 0;
91 ip->next_header = protocol; 91 ip->next_header = protocol;