From d591ec711790ef3acbc9baef2b90e1e43d1dda16 Mon Sep 17 00:00:00 2001 From: Kevin Finisterre Date: Tue, 28 Apr 2015 14:49:30 -0400 Subject: [PATCH] dissector_add() was depreciated and replaced with dissector_add_uint() --- .../wireshark/op-uavobjects/packet-op-uavobjects.c.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/openpilotgcs/src/plugins/uavobjects/wireshark/op-uavobjects/packet-op-uavobjects.c.template b/ground/openpilotgcs/src/plugins/uavobjects/wireshark/op-uavobjects/packet-op-uavobjects.c.template index 953d415d9..b9861d51f 100644 --- a/ground/openpilotgcs/src/plugins/uavobjects/wireshark/op-uavobjects/packet-op-uavobjects.c.template +++ b/ground/openpilotgcs/src/plugins/uavobjects/wireshark/op-uavobjects/packet-op-uavobjects.c.template @@ -108,5 +108,5 @@ void proto_reg_handoff_op_uavobjects_$(NAMELC)(void) uavo_handle = new_create_dissector_handle(dissect_uavo, proto_uavo); /* Bind this protocol to its UAV ObjID in UAVTalk */ - dissector_add("uavtalk.objid", $(OBJIDHEX), uavo_handle); + dissector_add_uint("uavtalk.objid", $(OBJIDHEX), uavo_handle); }