Skip to content

Commit

Permalink
[SQUASH ME] ng_ipv6: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Apr 16, 2015
1 parent f967e13 commit 430fd37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sys/net/network_layer/ng_ipv6/ng_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "kernel_types.h"
#include "net/ng_netbase.h"
#include "net/ng_protnum.h"
#include "od.h"
#include "thread.h"
#include "utlist.h"

Expand Down Expand Up @@ -183,7 +182,7 @@ static int _fill_ipv6_hdr(kernel_pid_t iface, ng_pktsnip_t *ipv6,
ng_ipv6_hdr_t *hdr = ipv6->data;

hdr->len = byteorder_htons(ng_pkt_len(payload));
DEBUG("ipv6: set payload length to %zu (network byteorder %04" PRIx16 ")",
DEBUG("ipv6: set payload length to %zu (network byteorder %04" PRIx16 ")\n",
ng_pkt_len(payload), hdr->len.u16);

/* check if e.g. extension header was not already marked */
Expand Down

0 comments on commit 430fd37

Please sign in to comment.