summaryrefslogtreecommitdiff
path: root/proto_ipv6_hop_by_hop.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_ipv6_hop_by_hop.c')
-rw-r--r--proto_ipv6_hop_by_hop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto_ipv6_hop_by_hop.c b/proto_ipv6_hop_by_hop.c
index b0c5a0d..26f338a 100644
--- a/proto_ipv6_hop_by_hop.c
+++ b/proto_ipv6_hop_by_hop.c
@@ -21,7 +21,8 @@ struct hop_by_hophdr {
uint8_t hdr_len;
} __packed;
-static void dissect_opt_hop (struct pkt_buff *pkt, ssize_t *opt_len)
+static void dissect_opt_hop(struct pkt_buff *pkt __maybe_unused,
+ ssize_t *opt_len)
{
/* Have to been upgraded.
* http://tools.ietf.org/html/rfc2460#section-4.2