Don't use dissector_add(): it's long since deprecated.

svn path=/trunk/; revision=44220
This commit is contained in:
Jeff Morriss 2012-08-02 19:01:58 +00:00
parent dfe0389590
commit 9b625975db
1 changed files with 2 additions and 2 deletions

View File

@ -551,8 +551,8 @@ proto_reg_handoff_ax25(void)
dissector_handle_t ax25_handle;
ax25_handle = create_dissector_handle( dissect_ax25, proto_ax25 );
dissector_add( "wtap_encap", WTAP_ENCAP_AX25, ax25_handle );
dissector_add("ip.proto", IP_PROTO_AX25, ax25_handle);
dissector_add_uint("wtap_encap", WTAP_ENCAP_AX25, ax25_handle);
dissector_add_uint("ip.proto", IP_PROTO_AX25, ax25_handle);
/*
I have added the "data" dissector for all the currently known PID's