diff options
Diffstat (limited to 'tap.c')
| -rw-r--r-- | tap.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -935,9 +935,9 @@ static bool ipv6_l4hdr(struct iov_tail *data, uint8_t *proto, size_t *dlen) nh = o->nexthdr; hdrlen = (o->hdrlen + 1) * 8; - if (IPV6_NH_OPT(nh)) - iov_drop_header(data, hdrlen); - else + iov_drop_header(data, hdrlen); + + if (!IPV6_NH_OPT(nh)) goto found; } |
