summaryrefslogtreecommitdiff
path: root/proto_ipv6_dest_opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_ipv6_dest_opts.c')
-rw-r--r--proto_ipv6_dest_opts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_ipv6_dest_opts.c b/proto_ipv6_dest_opts.c
index 04d02fa..68670ba 100644
--- a/proto_ipv6_dest_opts.c
+++ b/proto_ipv6_dest_opts.c
@@ -68,7 +68,7 @@ static void dest_opts(struct pkt_buff *pkt)
tprintf(" ]\n");
pkt_pull(pkt, opt_len);
- pkt_set_proto(pkt, &eth_lay3, dest_ops->h_next_header);
+ pkt_set_dissector(pkt, &eth_lay3, dest_ops->h_next_header);
}
static void dest_opts_less(struct pkt_buff *pkt)
@@ -91,7 +91,7 @@ static void dest_opts_less(struct pkt_buff *pkt)
tprintf(" Dest Ops");
pkt_pull(pkt, opt_len);
- pkt_set_proto(pkt, &eth_lay3, dest_ops->h_next_header);
+ pkt_set_dissector(pkt, &eth_lay3, dest_ops->h_next_header);
}
struct protocol ipv6_dest_opts_ops = {