summaryrefslogtreecommitdiff
path: root/proto_vlan_q_in_q.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_vlan_q_in_q.c')
-rw-r--r--proto_vlan_q_in_q.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_vlan_q_in_q.c b/proto_vlan_q_in_q.c
index 20b4bc1..8bc2325 100644
--- a/proto_vlan_q_in_q.c
+++ b/proto_vlan_q_in_q.c
@@ -37,7 +37,7 @@ static void QinQ_full(struct pkt_buff *pkt)
tprintf("Proto (0x%.4x)", ntohs(QinQ->TPID));
tprintf(" ]\n");
- pkt_set_proto(pkt, &eth_lay2, ntohs(QinQ->TPID));
+ pkt_set_dissector(pkt, &eth_lay2, ntohs(QinQ->TPID));
}
static void QinQ_less(struct pkt_buff *pkt)
@@ -52,7 +52,7 @@ static void QinQ_less(struct pkt_buff *pkt)
tprintf(" VLAN%d", (tci & 0x0FFF));
- pkt_set_proto(pkt, &eth_lay2, ntohs(QinQ->TPID));
+ pkt_set_dissector(pkt, &eth_lay2, ntohs(QinQ->TPID));
}
struct protocol QinQ_ops = {