Skip to content

Commit

Permalink
WLUA - add new port for WSL 18570
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored and peterbarker committed May 4, 2023
1 parent aba3c41 commit 5f5e6af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generator/mavgen_wlua.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,11 +631,12 @@ def generate_epilog(outf):
wtap_encap = DissectorTable.get("wtap_encap")
wtap_encap:add(wtap.USER0, mavlink_proto)
-- bind protocol dissector to port 14550 and 14580
-- bind protocol dissector to ports: 14550, 14580, 18570
local udp_dissector_table = DissectorTable.get("udp.port")
udp_dissector_table:add(14550, mavlink_proto)
udp_dissector_table:add(14580, mavlink_proto)
udp_dissector_table:add(18570, mavlink_proto)
""")

def generate(basename, xml):
Expand Down

0 comments on commit 5f5e6af

Please sign in to comment.