summaryrefslogtreecommitdiff
path: root/proto_ipv6_mobility_hdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_ipv6_mobility_hdr.c')
-rw-r--r--proto_ipv6_mobility_hdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_ipv6_mobility_hdr.c b/proto_ipv6_mobility_hdr.c
index 357dfb9..90f0678 100644
--- a/proto_ipv6_mobility_hdr.c
+++ b/proto_ipv6_mobility_hdr.c
@@ -282,7 +282,7 @@ static void mobility(struct pkt_buff *pkt)
return;
pkt_pull(pkt, message_data_len);
- pkt_set_proto(pkt, &eth_lay3, mobility->payload_proto);
+ pkt_set_dissector(pkt, &eth_lay3, mobility->payload_proto);
}
static void mobility_less(struct pkt_buff *pkt)
@@ -305,7 +305,7 @@ static void mobility_less(struct pkt_buff *pkt)
tprintf(" Mobility Type (%u), ", mobility->MH_type);
pkt_pull(pkt, message_data_len);
- pkt_set_proto(pkt, &eth_lay3, mobility->payload_proto);
+ pkt_set_dissector(pkt, &eth_lay3, mobility->payload_proto);
}
struct protocol ipv6_mobility_ops = {