the following is an example from README.heuristic
------------------------------- void proto_reg_handoff_PROTOABBREV(void) { static int PROTOABBREV_inited = FALSE; if ( !PROTOABBREV_inited ) { /* register as heuristic dissector for both TCP and UDP */ heur_dissector_add("tcp", dissect_PROTOABBREV, proto_PROTOABBREV); heur_dissector_add("udp", dissect_PROTOABBREV, proto_PROTOABBREV); } }
----------------------------------
Why cannot I use ip, like: heur_dissector_add("ip", dissect_PROTOABBREV, proto_PROTOABBREV); ?
Thanks John
|