summaryrefslogtreecommitdiff
path: root/proto_mpls_unicast.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_mpls_unicast.c')
-rw-r--r--proto_mpls_unicast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_mpls_unicast.c b/proto_mpls_unicast.c
index e01672a..69c01f3 100644
--- a/proto_mpls_unicast.c
+++ b/proto_mpls_unicast.c
@@ -73,7 +73,7 @@ static void mpls_uc_full(struct pkt_buff *pkt)
if (next < 0)
return;
- pkt_set_proto(pkt, &eth_lay2, (uint16_t) next);
+ pkt_set_dissector(pkt, &eth_lay2, (uint16_t) next);
}
static void mpls_uc_less(struct pkt_buff *pkt)
@@ -98,7 +98,7 @@ static void mpls_uc_less(struct pkt_buff *pkt)
if (next < 0)
return;
- pkt_set_proto(pkt, &eth_lay2, (uint16_t) next);
+ pkt_set_dissector(pkt, &eth_lay2, (uint16_t) next);
}
struct protocol mpls_uc_ops = {