summaryrefslogtreecommitdiff
path: root/proto_ipv6_routing.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_ipv6_routing.c')
-rw-r--r--proto_ipv6_routing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_ipv6_routing.c b/proto_ipv6_routing.c
index f70f73a..f56f32f 100644
--- a/proto_ipv6_routing.c
+++ b/proto_ipv6_routing.c
@@ -118,7 +118,7 @@ static void routing(struct pkt_buff *pkt)
return;
pkt_pull(pkt, data_len);
- pkt_set_proto(pkt, &eth_lay3, routing->h_next_header);
+ pkt_set_dissector(pkt, &eth_lay3, routing->h_next_header);
}
static void routing_less(struct pkt_buff *pkt)
@@ -152,7 +152,7 @@ static void routing_less(struct pkt_buff *pkt)
return;
pkt_pull(pkt, data_len);
- pkt_set_proto(pkt, &eth_lay3, routing->h_next_header);
+ pkt_set_dissector(pkt, &eth_lay3, routing->h_next_header);
}
struct protocol ipv6_routing_ops = {